Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

teste

tattoo

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

	$args = array(
		'id'     => 'Toolbar 1 ID',
		'parent' => 'Parent ID',
		'title'  => __( 'Title', 'text_domain' ),
		'href'   => 'href',
		'group'  => true,
	);
	$wp_admin_bar->add_menu( $args );

}
add_action( 'wp_before_admin_bar_render', 'Tattoo', 999 );