[wp-trac] [WordPress Trac] #37930: Introduce a general `pre_option` filter in `get_option()`

WordPress Trac noreply at wordpress.org
Sun Sep 11 15:21:55 UTC 2016


#37930: Introduce a general `pre_option` filter in `get_option()`
--------------------------------+------------------------------
 Reporter:  flixos90            |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+------------------------------
Changes (by flixos90):

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:37930.diff] adds a filter `pre_get_option`. It works similar
 like the new filters proposed in #37928 and #37929 respectively.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37930#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list