choices ) ) {
return;
}
$name = '_customize-radio-' . $this->id; ?>
label ); ?>
description ) ) : ?>
description ); ?>
pro_text;
$json['pro_url'] = esc_url( $this->pro_url );
$json['notice'] = esc_attr( $this->notice );
$json['nonotice'] = esc_attr( $this->nonotice );
return $json;
}
/**
* Outputs the Underscore.js template.
*
* @since 1.0.0
* @access public
* @return void
*/
protected function render_template() { ?>
<# if ( data.notice ) { #>
{{ data.title }}
<# } #>
<# if ( !data.notice ) { #>
{{ data.title }}
<# if ( data.pro_text && data.pro_url ) { #>
{{ data.pro_text }}
<# } #>
<# } #>