Un motore di ricerca WordPress per sviluppatori e autori di temi



is_active_sidebar ›

Da3.9.0
Deprecaton/a
apply_filters( 'is_active_sidebar', $is_active_sidebar, $index )
Parametri: (2)
  • (bool) $is_active_sidebar Whether or not the sidebar should be considered "active". In other words, whether the sidebar contains any widgets.
    Richiesto:
  • (int|string) $index Index, name, or ID of the dynamic sidebar.
    Richiesto:
Definito a:
Codex:

Filters whether a dynamic sidebar is considered "active".





Sorgenti

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