Opened 10 years ago
Last modified 6 years ago
#31643 new enhancement
Allow widget sidebars to be loaded open or closed via filtering
Reported by: | silb3r | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.2 |
Component: | Widgets | Keywords: | dev-feedback |
Focuses: | administration | Cc: |
Description
This could be useful to allow certain sidebars to always load open or closed.
Attachments (3)
Change History (6)
#1
@
9 years ago
- Focuses administration added
- Keywords needs-docs added
You may want to consider putting the classes into an array then passing that array to the filter. This will allow for much easier manipulation in the filter. See new patch to see what I mean.
Also, the filter needs some inline docs - https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/#4-hooks-actions-and-filters
Note: See
TracTickets for help on using
tickets.
Add the "registered_sidebar_wrap_class" filter to enable filtering of sidebars' $wrap_class