WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 months ago

#37245 new feature request

New action hook for register_setting

Reported by: Pionect Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.7
Component: Options, Meta APIs Keywords: needs-patch
Focuses: administration Cc:
PR Number:

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

Change History (1)

#1 @desrosj
6 months 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

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?

Note: See TracTickets for help on using tickets.