wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



show_admin_bar › Les Filtres WordPress

Depuis3.1.0
Dépréciéen/a
apply_filters( 'show_admin_bar', $show_admin_bar )
Paramètres:
  • (bool) $show_admin_bar Whether the admin bar should be shown. Default false.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to show the admin bar.

Returning false to this hook is the recommended way to hide the admin bar. The user's display preference is used for logged in users.





Source

$show_admin_bar = apply_filters( 'show_admin_bar', $show_admin_bar );