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



wp_admin_bar_show_site_icons › WordPress Filter Hooks

Da6.0.0
Deprecaton/a
apply_filters( 'wp_admin_bar_show_site_icons', true )
Parametri:
  • (bool) $show_site_icons Whether site icons should be shown in the toolbar. Default true.
    Richiesto:
Definito a:
Codex:

Filters whether to show the site icons in toolbar.

Returning false to this hook is the recommended way to hide site icons in the toolbar. A truthy return may have negative performance impact on large multisites.





Sorgenti

$show_site_icons = apply_filters( 'wp_admin_bar_show_site_icons', true );