Prerequisites
Description
Many users are using in_widget_form and widget_update_callback hooks to add custom fields to widgets.
Seems that Elementor doesn't calls these hooks at all. There is no visible custom markup in widget form while using widgets from Elementor and it shows only default widget fields.
Also there is some plugins that are using these hooks to extend widgets functionality. (e.g. Advanced Custom Fields) and these hooks are necessary for them.
Steps to reproduce
Use the following code to add something in widgets. It works in Appearance-> Widgets, But not in Elementor-> WordPress Widgets.
add_action('in_widget_form', 'issue_in_widget_form' );
function issue_in_widget_form( $instance ){
echo 'This should be visible in Elementor too.';
return $instance;
}
Isolating the problem
Prerequisites
Description
Many users are using
in_widget_formandwidget_update_callbackhooks to add custom fields to widgets.Seems that Elementor doesn't calls these hooks at all. There is no visible custom markup in widget form while using widgets from Elementor and it shows only default widget fields.
Also there is some plugins that are using these hooks to extend widgets functionality. (e.g. Advanced Custom Fields) and these hooks are necessary for them.
Steps to reproduce
Use the following code to add something in widgets. It works in Appearance-> Widgets, But not in Elementor-> WordPress Widgets.
Isolating the problem