Frontend
wp-logo about contribute wp-logo-external wporg documentation learn support-forums feedback site-name dashboard appearance themes widgets menus background header plugins customize updates comments new-content new-post new-media new-page new-user edit top-secondary search my-account user-actions user-info logout
Backend
wp-logo about contribute wp-logo-external wporg documentation learn support-forums feedback site-name view-site updates comments new-content new-post new-media new-page new-user top-secondary my-account user-actions user-info logout menu-toggle
To get the list, we’ve used this snippet (WordPress version 6.6.2):
/** * Outputs admin bar menu node list. * * @see https://wpcodebook.com/wordpress-standard-admin-bar-menu-nodes/ * @see https://developer.wordpress.org/reference/hooks/admin_bar_menu/ * @see https://developer.wordpress.org/reference/classes/wp_admin_bar/ */ add_action( 'admin_bar_menu', function ( $wp_admin_bar ) { echo '<pre>' . print_r( wp_list_pluck( $wp_admin_bar->get_nodes(), 'parent' ), true ) . '</pre>'; die(); }, PHP_INT_MAX );