[wp-trac] [WordPress Trac] #37928: add `pre_add_option` filter

WordPress Trac noreply at wordpress.org
Sat Sep 3 07:13:18 UTC 2016


#37928: add `pre_add_option` filter
--------------------------------+-----------------------------
 Reporter:  flixos90            |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:  needs-patch
  Focuses:                      |
--------------------------------+-----------------------------
 `get_option()` and `update_option()` already have filters to short-circuit
 their respective processes, so I think a similar filter should be added to
 `add_option()` as well.

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


More information about the wp-trac mailing list