ast_inherit = __( 'Inherit', 'astra' ); parent::__construct( $manager, $id, $args ); } /** * Refresh the parameters passed to the JavaScript via JSON. * * @since 3.0.0 * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = esc_html( $this->label ); $this->json['description'] = $this->description; $this->json['name'] = $this->name; $this->json['value'] = $this->value(); $this->json['connect'] = $this->connect; $this->json['variant'] = $this->variant; $this->json['link'] = $this->get_link(); } /** * COntent Template for the Control rendering. * * @see WP_Customize_Control::print_template() * @since 3.0.0 * @access protected */ protected function content_template() { ?>