WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about is_active_sidebar

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/widgets.php apply_filters 987 /**
* Filters whether a dynamic sidebar is considered "active".
*
* @since 3.9.0
*
* @param bool $is_active_sidebar Whether or not the sidebar should be considered "active".
* In other words, whether the sidebar contains any widgets.
* @param int|string $index Index, name, or ID of the dynamic sidebar.
*/

Hook Parameters

Parameter Type Name Description
bool $is_active_sidebar Whether or not the sidebar should be considered "active".
int|string $index Index, name, or ID of the dynamic sidebar.