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



is_active_sidebar › WordPress Function

Seit2.8.0
Veraltetn/v
is_active_sidebar ( $index )
Parameter:
  • (string|int) $index Sidebar name, id or number to check.
    Erforderlich: Ja
Gibt zurück:
  • (bool) True if the sidebar has widgets, false otherwise.
Definiert in:
Codex:

Determines whether a sidebar contains widgets.

For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/} article in the Theme Developer Handbook.


Quellcode

Bald...