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 }} <# } #>

  • register_section_type( 'Architecture_Construction_Customize_Section_Pro' ); // Register sections. $manager->add_section( new Architecture_Construction_Customize_Section_Pro( $manager, 'architecture_construction_view_pro', array( 'title' => esc_html__( 'Pro Available', 'architecture-construction' ), 'priority' => 5, 'pro_text' => esc_html__( 'VIEW PRO THEME', 'architecture-construction' ), 'pro_url' => 'https://www.themeignite.com/products/construction-wordpress-theme/' ) ) ); $manager->add_section( new Architecture_Construction_Customize_Section_Pro( $manager, 'architecture_construction_Doc_pro', array( 'title' => esc_html__( 'For Reference', 'architecture-construction' ), 'priority' => 5, 'pro_text' => esc_html__( 'FREE DOC', 'architecture-construction' ), 'pro_url' => 'https://demo.themeignite.com/documentation/architecture-construction-free' ) ) ); }