[wp-trac] [WordPress Trac] #33886: Need ability to determine the priority at which an action hook or filter is being run

WordPress Trac noreply at wordpress.org
Tue Sep 15 18:44:01 UTC 2015


#33886: Need ability to determine the priority at which an action hook or filter is
being run
-------------------------+------------------------------
 Reporter:  bobbingwide  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by SergeyBiryukov):

 `has_filter( current_filter(), __FUNCTION__ )` returns the priority.

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


More information about the wp-trac mailing list