choices_type ) { case 'radio' : { ?> label ) ) { ?> label ); ?> choices as $value => $image_url ){ if ( empty( $image_url ) ) { $image_url = plugins_url() . '/customify/images/default_radio_image.png'; } ?> link(); echo 'name="' . $this->setting->id . '" type="radio" value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) .' >';?> description ) ) { ?> description; ?> label ) ) { ?> label ); ?> choices as $value => $setts ){ if ( ! isset( $setts['options']) || ! isset( $setts['label'] ) ) { continue; } $color = ''; if ( isset( $setts['color'] ) ) { $color .= ' style="border-left-color: ' . $setts['color'] . '; color: ' . $setts['color'] . ';"'; } $label = $setts['label']; $options = $setts['options']; $data = ' data-options=\'' . json_encode($options) . '\'';?> link(); echo 'name="' . $this->setting->id . '" type="radio" value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . $data .' />'; ?> > description ) ) { ?> description; ?>