include_widgets_files(); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\APFE_FLEXSLIDER() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\APFE_WOO_FLEXSLIDER() ); \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\APFE_POSTS_FLEXSLIDER() ); } /** * Plugin class constructor * * Register plugin action hooks and filters * * @since 1.2.0 * @access public */ public function __construct() { add_action( 'elementor/frontend/after_register_scripts', [ $this, 'widget_scripts' ] ); add_action( 'elementor/frontend/after_register_styles', [ $this, 'widget_styles' ] ); add_action( 'elementor/widgets/widgets_registered', [ $this, 'register_widgets' ] ); } } Plugin::instance();