Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Untitled Snippet

// Add Toolbar Menus
function custom_toolbar() {
	global $wp_admin_bar;

}

// Hook into the 'wp_before_admin_bar_render' action
add_action( 'wp_before_admin_bar_render', 'custom_toolbar', 999 );