WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_admin_bar_show_site_icons

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/admin-bar.php apply_filters 624 /**
* 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.
*
* @since 6.0.0
*
* @param bool $show_site_icons Whether site icons should be shown in the toolbar. Default true.
*/

Hook Parameters

Parameter Type Name Description
bool $show_site_icons Whether site icons should be shown in the toolbar. Default true.