apply_filters( 'is_active_sidebar', bool $is_active_sidebar , int|string $index )
Filters whether a dynamic sidebar is considered “active”.
Parameters
- $is_active_sidebar
-
Whether or not the sidebar should be considered "active". In other words, whether the sidebar contains any widgets.
- $index
-
Index, name, or ID of the dynamic sidebar.
Source
File: wp-includes/widgets.php
Changelog
Version | Description |
---|---|
WP-3.9.0 | Introduced. |