[wp-trac] [WordPress Trac] #56045: Add filters to allow the shortcut return to wp_load_alloptions (was: Add filters to allow the shortcut return for the get options functions)

WordPress Trac noreply at wordpress.org
Wed Jun 22 21:19:32 UTC 2022


#56045: Add filters to allow the shortcut return to wp_load_alloptions
--------------------------------------+------------------------
 Reporter:  pbearne                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:  duplicate
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------
Changes (by pbearne):

 * keywords:  has-patch => has-patch has-unit-tests


Old description:

> the current filter assumes that you know the name of the filter
> This is a general filter that filters "ALL" options

New description:

 This adds a shortcut filter to the wp_load_options function

--

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


More information about the wp-trac mailing list