*/ if ( ! class_exists( 'WP_Customize_Control' ) ) { return; } class Arrival_Customize_Seperator_Control extends WP_Customize_Control { public function render_content() { ?> label ); ?> description): ?> description ); ?> description): ?> description ); ?> label){ ?> label ); ?> label) ){ return; } $controller = $this->description; $type = 'section'; if( !empty($this->type) ){ $type = $this->type; } if($this->type == 'text'){ $type = 'section'; } ?> label); ?> choices ) ) { return; } $name = '_customize-radio-' . $this->id; ?> label ); ?> description ); ?> pro_text; $json['pro_url'] = esc_url( $this->pro_url ); return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?>
  • {{ data.title }} <# if ( data.pro_text && data.pro_url ) { #> {{ data.pro_text }} <# } #>