Get menus by name in wordpress….!!!

Source file

wp_get_nav_menu_object() is located in wp-includes/nav-menu.php.

to get the menu by its name. use below code:

Just Copy and paste the above code where you want to show your menus.