is_registered_sidebar
is_registered_sidebar ( $sidebar_id )
Parameters:- (string|int) sidebar_id The ID of the sidebar when it was registered.
Returns:- (bool) True if the sidebar is registered, false otherwise.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Checks if a sidebar is registered.