[wp-trac] [WordPress Trac] #43621: Introduce `add_action_once` and `add_filter_once` sugar.

WordPress Trac noreply at wordpress.org
Fri Mar 23 19:06:12 UTC 2018


#43621: Introduce `add_action_once` and `add_filter_once` sugar.
-----------------------------+------------------------------
 Reporter:  soulseekah       |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by johnbillion):

 This is certainly a pattern that the test suite uses, and I could see a
 use for it. That said, is it a pattern that's used in non-test code often?

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


More information about the wp-trac mailing list