[wp-trac] [WordPress Trac] #41105: Fire action hook after updating option group.

WordPress Trac noreply at wordpress.org
Tue Jun 20 19:45:36 UTC 2017


#41105: Fire action hook after updating option group.
--------------------------------+-----------------------------
 Reporter:  mdifelice           |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41105>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list