#24878 closed enhancement (fixed)
is_registered_sidebar()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
Description
is_active_sidebar()
looks at whether a sidebar has any widgets in it, but there doesn't seem to be a function that purely checks to see if a sidebar is still registered within the $wp_registered_sidebars
global, irrespective of whether it would have any widgets in it or not.
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Adds
is_registered_sidebar()
to complimentregister_sidebar()
andunregister_sidebar()
.