register_control_type( 'Epsilon_Control_Customizer_Navigation' ); } /** * Add custom parameters to pass to the JS via JSON. * * @since 1.2.0 * @access public */ public function json() { $json = parent::json(); $json['id'] = $this->id; $json['navigateToId'] = $this->navigate_to_id; $json['navigateToLabel'] = $this->navigate_to_label; $json['opensDoubled'] = $this->opens_doubled; return $json; } /** * Empty as it should be * * @since 1.0.0 */ public function render_content() { } /** * Render the content template * * @since 1.0.0 */ public function content_template() { //@formatter:off ?> {{{ data.label }}} {{{ data.navigateToLabel }}}