apply_filters( 'wp_admin_bar_show_site_icons', bool $show_site_icons )

Filters whether to show the site icons in toolbar.


Description

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.


Top ↑

Parameters

$show_site_icons bool
Whether site icons should be shown in the toolbar. Default true.

Top ↑

Source

File: wp-includes/admin-bar.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.