Function: wp_admin_bar_my_sites_menu

wp_admin_bar_my_sites_menu( WP_Admin_Bar $wp_admin_bar )

Add the "My Sites/[Site Name]" menu and all submenus.

Parameters

Name Type(s) Default Value Description
$wp_admin_bar WP_Admin_Bar

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.