pro_text; $json['pro_url'] = esc_url( $this->pro_url ); $json['demo'] = esc_url( $this->demo ); $json['demo_text'] = __( 'Demo', 'brigsby' ); $json['docs'] = esc_url( $this->docs ); $json['docs_text'] = __( 'Docs / Support', 'brigsby' ); $json['rating'] = esc_url( $this->rating ); $json['rating_text'] = __( 'Rating', 'brigsby' ); return $json; } /** * Outputs the Underscore.js template. * * @since 1.0 * @access public * @return void */ protected function render_template() { ?>
  • {{ data.pro_text }} <# } #> <# if ( data.demo_text && data.demo ) { #> {{ data.demo_text }} <# } #> <# if ( data.docs_text && data.docs ) { #> {{ data.docs_text }} <# } #> <# if ( data.rating_text && data.rating ) { #> {{ data.rating_text }} <# } #> ' ); ?>