includes(); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\Widget_Met_Form() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Button() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Text() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Email() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Number() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Telephone() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Date() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Time() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Select() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Multi_Select() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Textarea() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Checkbox() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Radio() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Switch() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Range() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Url() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Password() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Listing_Fname() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Listing_Lname() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Listing_Optin() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Gdpr_Consent() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Recaptcha() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Simple_Captcha() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Rating() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_File_Upload() ); \Elementor\Plugin::instance()->widgets_manager->register( new \Elementor\MetForm_Input_Summary() ); } public function add_metform_widget_categories( $elements_manager ) { $elements_manager->add_category( 'metform', [ 'title' => esc_html__( 'Metform', 'metform' ), 'icon' => 'fa fa-plug', ] ); } }