wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



is_active_sidebar › WordPress Filter Hooks

Seit3.9.0
Veraltetn/v
apply_filters( 'is_active_sidebar', $is_active_sidebar, $index )
Parameter: (2)
  • () is_active_sidebar Whether or not the sidebar should be considered "active". In other words, whether the sidebar contains any widgets.
    Erforderlich: Ja
  • () index Index, name, or ID of the dynamic sidebar.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether a dynamic sidebar is considered "active".





Quellcode

return apply_filters( 'is_active_sidebar', $is_active_sidebar, $index );