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

    <# if ( data.description ) { #>

    {{{ data.description }}}

    <# } #> <# if ( 0 < data.features.length ) { #> <# } #>
  • <# } else { #>
  • {{{ data.pro_text }}}

  • <# } #>