Opened 7 years ago
Last modified 7 years ago
#41105 new enhancement
Fire action hook after updating option group.
Reported by: | mdifelice | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Options, Meta APIs | Keywords: | has-patch |
Focuses: | Cc: |
Description
This suggestion affects the Settings API. There are hooks that fire after updating a single option, but not when a group of options is updated. Options updated via the Settings API are handled by /wp-admin/options.php, which after updating them does a redirection to the previous page, not firing any hook beside the shutdown action hook. In fact, the shutdown hook could be used for the same purpose but it would require some more extra checks.
Basically the hook would allow to perform some action that is required after all options in that group are updated.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Possible place to add the proposed action hook.