Opened 8 years ago
Closed 4 years ago
#37245 closed feature request (fixed)
New action hook for register_setting
Reported by: | Pionect | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Options, Meta APIs | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description
I'm building a plugin which keeps track of all the changes made to options.
It's working but I'd like to hook into the register_setting function so I can use backtrace and figure out what plugin matches with a certain setting.
So my request is simply to have an action hook in the register_setting function from wp-include/plugin.php
Attachments (1)
Change History (6)
#1
@
5 years ago
- Focuses administration added
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
- Version changed from 4.5.3 to 2.7
@
5 years ago
Provides 2 new action hooks: register_setting and unregister_setting both fire near the end of the function process.
This ticket was mentioned in Slack in #core by howdy_mcgee. View the logs.
4 years ago
Note: See
TracTickets for help on using
tickets.
Hi @Pionect,
Thanks for this ticket, and welcome to Trac! My apologies that it took so long to receive a response.
Your request seems reasonable. Are you able to take a first pass at a patch?