rtsb_name = esc_html__( 'Notice', 'shopbuilder' ); $this->rtsb_base = 'rtsb-wc-notice'; parent::__construct( $data, $args ); $this->rtsb_category = 'rtsb-shopbuilder-general'; } /** * Widget Field * * @return array */ public function widget_fields() { return NoticeSettings::widget_fields( $this ); } /** * Set Widget Keyword. * * @return array */ public function get_keywords() { return [ 'Notice' ] + parent::get_keywords(); } /** * Render Function * * @return void */ protected function render() { $controllers = $this->get_settings_for_display(); $this->theme_support(); $data = [ 'template' => 'elementor/general/notice', 'controllers' => $controllers, ]; if ( $this->is_builder_mode() ) { //$type = BuilderFns::builder_type( get_the_ID() ); ?>