url; $json['target'] = $this->target; $json['tagline'] = $this->tagline; $json['style'] = $this->style ? ' ' . $this->style : false; return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?>
  • <# if ( data.url ) { #> <# if ( data.style ) { #> {{ data.title }} <# } else { #> {{ data.title }} <# if ( data.tagline ) { #> {{ data.tagline }} <# } #> <# } #> <# } #>