Filter hook 'is_active_sidebar'

in WP Core File wp-includes/widgets.php at line 997

Description

Filters whether a dynamic sidebar is considered "active".

Occurrences

Filename Line Number
wp-includes/widgets.php 997

Parameters

Type Name Description
bool $is_active_sidebar Whether or not the sidebar should be considered "active". In other words, whether the sidebar contains any widgets.
int|string $index Index, name, or ID of the dynamic sidebar.

PHP Doc

/**
	 * 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.
	 */