array( 'url' => $image_url, 'label' => $text_label ), * $value => array( 'url' => $image_url, 'label' => $text_label ), * )` * */ /** * Radio image customize control. * * @access public */ class TC_Customize_Control_Radio_Image extends WP_Customize_Control { /** * The type of customize control being rendered. * * @since 3.0.0 * @var string */ public $type = 'radio-image'; /** * Displays the control content. * * @since 3.0.0 * @access public * @return void */ public function render_content() { /* If no choices are provided, bail. */ if ( empty( $this->choices ) ) return; ?> label ) ) : ?> label ); ?> description ) ) : ?> description; ?>