Elementor integration bug
-
In the Elementor integration the widgets are registered on init and this causes other plugin widgets to not be registered.
(in file: ecwid-shopping-cart\includes\integrations\class-ecwid-integration-elementor.php)
The correct hook to register widgets is elementor/widgets/widgets_registered – something like this:
add_action( 'elementor/widgets/widgets_registered', function($widgets_manager){ $widgets_manager->register_widget_type( new Ec_Elementor_Widget_Store() ); if( !ecwid_is_demo_store() ) { $widgets_manager->register_widget_type( new Ec_Elementor_Widget_Buynow() ); } });
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Elementor integration bug’ is closed to new replies.