How Do I Retrieve the Menu Slug or ID in WordPress 6.2?

[ad_1]

I’ve installed a fresh installation of WP 6.2. I was looking for the normal place to find menus. Normally under appearance, now it’s in the Customizer. I dig the interface, but now I have no idea how to find the slug of a menu (I have 6 menus). I know I can reference a menu’s name (or title) in functions, but I’d rather use slugs or IDs in WP functions so I can change the menu title at-will and not worry about the menu breaking on the frontend. Is it still possible to get a menu’s slug or ID?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer