wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



show_admin_bar › WordPress Filter Hooks

Da3.1.0
Deprecaton/a
apply_filters( 'show_admin_bar', $show_admin_bar )
Parametri:
  • (bool) $show_admin_bar Whether the admin bar should be shown. Default false.
    Richiesto:
Definito a:
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.





Sorgenti

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