*/ class Amp_WP_Image_Radio_Button_Control extends WP_Customize_Control { /** * The type of control being rendered */ public $type = 'image_radio_button'; /** * Enqueue scripts/styles for the AMP WP custom switch */ public function enqueue() { wp_enqueue_style( 'amp-wp-image-radio-button', amp_wp_plugin_url( 'admin/css/amp-wp-image-radio-button.css' ), array(), '1.0', 'all' ); } protected function render_content() { $val = $this->value(); ?>
label ) ) { ?> label ); ?> description ) ) { ?> description ); ?> choices as $key => $value ) { ?>