How to add a new menu item after user menu in the new menu area wordpress

To add a new menu item after user menu in the new menu area wordpress
  1.  Open function.php file from active theme folder
  2.  Add below code down of that page
  $args = array( 'id' => 'new menu item', 'title' => 'new menu item', 'href' => 'http://www.technomaniya.com/', 'parent' => 'new-content', ); $wp_admin_bar->add_node($args); } add_action('admin_bar_menu', 'custom_button_example2', 60);