#24878 closed enhancement (fixed)
is_registered_sidebar()
| Reported by: | GaryJ | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Widgets | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds
is_registered_sidebar()to complimentregister_sidebar()andunregister_sidebar().