include_widgets_files(); // Register Widgets \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_NEWS() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_BRAND() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_VIDEO() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_MAP() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_SERVICES() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_GALLERY() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_RESTAURNAT_MENU() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_STAFF() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_CONTACT() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\EAGLE_SOCIAL() ); } /* Plugin class constructor */ public function __construct() { // Register widget scripts add_action( 'elementor/frontend/after_register_scripts', [ $this, 'widget_scripts' ] ); // Register widgets add_action( 'elementor/widgets/widgets_registered', [ $this, 'register_widgets' ] ); } } // Instantiate Plugin Class Plugin::instance();