[wp-trac] [WordPress Trac] #20127: Add filter in dynamic_sidebar() to modify sidebar index

WordPress Trac noreply at wordpress.org
Thu Aug 22 23:37:06 UTC 2013


#20127: Add filter in dynamic_sidebar() to modify sidebar index
-------------------------+------------------------------
 Reporter:  andrewryno   |       Owner:  andrewryno
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Widgets      |     Version:  3.3.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by c3mdigital):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Currently I believe this is possible.  Look at the
 `widget_display_callback` filter.  You could conditionally add
 `__return_false` to the filter to remove all widgets then add your
 replacements using the dynamic_sidebar action hook.

 Please reopen if you feel the discussion should continue.

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


More information about the wp-trac mailing list