Opened 15 months ago

#20127 new enhancement

Add filter in dynamic_sidebar() to modify sidebar index

Reported by: andrewryno Owned by: andrewryno
Priority: normal Milestone: Awaiting Review
Component: Widgets Version: 3.3.1
Severity: normal Keywords: has-patch
Cc:

Description

Use case: changing sidebars depending on the page/post/etc loaded through a plugin. Nothing too complex, just no way to do it. There is a filter dynamic_sidebar_params but that isn't called until later on in the function after the widgets have been collected for that sidebar.

Attachments (1)

dynamic_sidebar-filter.diff (383 bytes) - added by andrewryno 15 months ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.