visible = ! get_theme_mod( $args['hiding_control'] ); } } /** * Add custom parameters to pass to the JS via JSON. * * @since 1.1.47 * @access public */ public function json() { $json = parent::json(); $json['visible'] = $this->visible; $json['hiding_control'] = $this->hiding_control; return $json; } /** * Outputs the Underscore.js template. * * @since 1.1.47 * @access public * @return void */ protected function render_template() { ?>