enqueue_scripts(); } /** * Add custom parameters to pass to the JS via JSON. * * @since 1.0.0 * @access public * @return array */ public function json() { $json = parent::json(); $json['section_text'] = $this->section_text; $json['hide_notice'] = $this->hide_notice; $json['plugin_install_button'] = $this->create_plugin_install_button( $this->slug, $this->options ); return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?> <# if ( !data.hide_notice ) { #>