install_text; $json[ 'install_url' ] = esc_url( $this->install_url ); $json[ 'description' ] = $this->description; $json[ 'dismiss_text' ] = $this->dismiss_text; $json[ 'confirm_text' ] = $this->confirm_text; $json[ 'confirm_button' ] = $this->confirm_button; return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?>
  • {{ data.title }}

    {{ data.description }}

    <# if ( data.install_text && data.install_url ) { #> {{ data.install_text }} {{ data.dismiss_text }} <# } #>

    {{ data.confirm_text }}

    {{data.confirm_button}}