pro_text; $json['pro_url'] = esc_url( $this->pro_url ); $json['pro_text2'] = $this->pro_text2; $json['pro_url2'] = esc_url( $this->pro_url2 ); return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?>
  • <# if ( data.pro_text2 && data.pro_url2 ) { #> {{ data.pro_text2 }} <# } #>   <# if ( data.pro_text && data.pro_url ) { #> {{ data.pro_text }} <# } #>