You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
The issue still exists against the latest stable version of Elementor.
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
This bug happens with only Elementor plugin active (and Elementor Pro).
This bug happens with a default WordPress theme active.
I can reproduce this bug consistently using the steps above.
The text was updated successfully, but these errors were encountered:
bainternet
added a commit
to bainternet/elementor
that referenced
this issue
Oct 4, 2018
bainternet
added
status/merged
Indicates when a Pull Request has been merged to a Release.
and removed
status/has-pr
Indicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged.
labels
Oct 4, 2018
Hi, I offer a plugin which adds some options to any widget via the hooks in_widget_form. Elementor uses this hook, too. The extra options are displayed in the editor. But saving their settings failes since the hook widget_update_callback is not integrated in Elementor.
Is it possible to add the missing hook in Elementor? Are the hooks also integrated into Elementor Pro?
Prerequisites
Description
Many users are using
in_widget_form
andwidget_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.
Isolating the problem
The text was updated successfully, but these errors were encountered: