wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



is_active_sidebar › Filtr WordPress Hooks

Od3.9.0
Przestarzałyn/a
› apply_filters( 'is_active_sidebar', $is_active_sidebar, $index )
Parametry: (2)
  • () is_active_sidebar Whether or not the sidebar should be considered "active". In other words, whether the sidebar contains any widgets.
    Wymagane: Tak
  • () index Index, name, or ID of the dynamic sidebar.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether a dynamic sidebar is considered "active".





Źródło

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