[wp-trac] [WordPress Trac] #16443: We need a way to programmatically tell if we are in a sidebar

WordPress Trac noreply at wordpress.org
Sat Oct 25 22:48:21 UTC 2014


#16443: We need a way to programmatically tell if we are in a sidebar
-----------------------------+-----------------------------
 Reporter:  jorbin           |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Widgets          |     Version:  2.2
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-----------------------------
Changes (by chriscct7):

 * type:  enhancement => feature request


Comment:

 Couldn't you do a did_action on `dynamic_sidebar_before` to check?

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


More information about the wp-trac mailing list