[wp-trac] [WordPress Trac] #35357: Introduce did_filter()

WordPress Trac noreply at wordpress.org
Fri Jan 8 02:36:35 UTC 2016


#35357: Introduce did_filter()
-------------------------+------------------------
 Reporter:  mordauk      |       Owner:  chriscct7
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  4.5
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------

Comment (by mordauk):

 The instance that made me open this was when I wanted to detect if a
 particular filter had run and then prevent it from ever running again.
 Definitely a rare scenario but it was one that made sense in my particular
 case.

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


More information about the wp-trac mailing list