Guide to widgets.php ajax events?
-
I’m looking for the definitive or most complete guide to understanding Ajax events in WordPress. I am having a lot of trouble nailing down where this is documented, such as capturing events on the widgets.php page within ajaxComplete and ajaxSuccess, etc i.e. ‘widget-save’, ‘widget-create’, ‘widget-instance’ or ‘widget-id’…heck are any of these even real handlers within these events?
On a clean install I notice when I log ajaxComplete and ajaxSuccess events, they both fire twice doing simple tasks such as dragging a widget to a sidebar, deleting a widget and saving a widget. I am sure within these there is some unique handler like “this” happened, and now “this” also happened explaining the “why” I see 2 events each. Where do i find this information.
Searching the codex just produces a ton of results related to event calendar plugins which is not what I’m looking for.
Any direction is greatly appreciated.
- The topic ‘Guide to widgets.php ajax events?’ is closed to new replies.