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

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 3 14:44:05 UTC 2011


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

Comment (by filosofo):

 I'm not sure what you're trying to do, but you might be able to accomplish
 it by attaching a callback to the `'dynamic_sidebar'` action hook.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16443#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list