Opened 2 years ago
#59908 new enhancement
There should be an action fired after a Widget is added or updated
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Widgets | Keywords: | |
| Focuses: | Cc: |
Description
I don't believe there's currently an action fired after a Widget is added or updated in the normal/traditional means (Appearance -> Widgets). There is delete_widget, but not a similar update_widget.
In googling to find out what action to use, I found lots of people trying to do exactly the same thing I am (with no luck): Clearing page caches after a widget has been added or updated.
A simple do_action( 'update_widget ) type of action would benefit a lot of users.
Thanks!
Note: See
TracTickets for help on using
tickets.