button_text; $manager->register_control_type( 'amyra_Control_Upg' ); parent::__construct( $manager, $id, $args ); } /** * Json conversion */ public function to_json() { parent::to_json(); $this->json['button_text'] = $this->button_text; $this->json['button_url'] = $this->button_url; $this->json['options'] = $this->options; $this->json['explained_features'] = $this->explained_features; } /** * Control content */ public function content_template() { ?>