Core Function
View Source on Trac ↗ is_registered_sidebar()
is_registered_sidebar( mixed $sidebar_id ) Checks if a sidebar is registered.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | int) $sidebar_id The ID of the sidebar when it was registered. Required |
Return Value
(bool)
True if the sidebar is registered, false otherwise.
Function Information
Since Version
4.4.0
Source File
wp-includes/widgets.php
Advertisement