Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Untitled Snippet

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

	$args = array(
		'id'     => 'unique_id',
		'title'  => __( 'Some Link', 'text_domain' ),
		'href'   => 'http://.../',
	);
	$wp_admin_bar->add_menu( $args );

}

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