How to change the order of user menu?

How is it possible to change the order of menu links?

Hi,

Please try this PHP snippet:
For example, this code snippet puts the Settings item in the first place (you can change other items by changing their name in this code snippet).

add_filter(
 'hivepress/v1/menus/user_account',
 function( $menu ) {
  if(isset($menu['items']['user_edit_settings'])){
   $menu['items']['user_edit_settings']['_order'] = 1; 
  }

  return $menu;
 },
 1000
);