apply_filters( 'is_active_sidebar', bool $is_active_sidebar, int|string $index )

Filters whether a dynamic sidebar is considered “active”.

Description Description

Parameters Parameters


(bool) Whether or not the sidebar should be considered "active". In other words, whether the sidebar contains any widgets.


(int|string) Index, name, or ID of the dynamic sidebar.

Top ↑

Source Source

File: wp-includes/widgets.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.