It is not intuitive but get_terms will do it, if I understand what you need.
var_dump(get_terms( 'nav_menu'));
If you look in the *_term_taxonomy table you can see why. The menus are stored as a taxonomy named nav_menu.
This won’t get you things like page menus, only the intentionally created menus.
Related Posts:
- How to add a custom field in the advanced menu properties?
- Adding a custom field to the site identity menu
- Add meta data to the menu
- Dynamic User State & City selection
- Creating a custom menu/widget area
- Nav Menu – Add class based on meta keys
- Add image to menu item with ACF
- Declaring in variables [closed]
- How to add a custom field in the advanced menu properties?
- Walker class for sub-menu with ACF fields
- Populate wordpress menu with link to custom field value (file download)
- Show Custom field value instead of title in WP Menu
- How to make menu country specific?
- How to check custom fields from functions.php
- Override edit_custom_walker.php to conditionally show input depending on menu position
- How to use page metadata while using wp_list_pages()?
- Add custom fields to specific menus
- Add CSS class to posts with certain meta key
- Show Custom Fields in Quick Edit
- Validating Custom Meta Box Values & Required Fields
- Add custom fields to wp native gallery settings
- How can I add extra attribute in the ‘Page Attribute’ section in wp-admin for pages?
- Custom field/meta populated by dropdown of existing posts?
- What is the index [0] for on post meta fields?
- SQL Query to copy value of a meta_key into another meta_key
- How can I make wp-pagenavi work on a custom query built upon a form submission? [closed]
- Custom field metabox not showing in back-end
- Custom search: by post data and post metadata?
- Pass all custom fields through the same filter on post load?
- Add custom fields when specific templates are selected
- Save custom user meta on registration
- What is the advantage of the wp_options design pattern?
- update_user_meta: How many is too many?
- Search ONLY by meta key / meta values
- Using media-upload.php to upload mp3 via custom fields
- Extend WP Customizer to make multiple image selection possible
- Correct Approach for Validating Custom Field Input
- Meta keywords and descriptions plugin for manually editing meta for each page/post
- Trying to perform complex custom field query with order by set to field value
- add custom fields to the post on admin side
- Query meta field using between
- How to add/save Custom Field in user settings/profile “Checkbox list”
- Automatic Refresh all posts at once
- Delete post based on a custom field?
- How to make custom comment fields required and message field not required
- Display info from custom fields in all images’ HTML
- How to display submenus on page based on referring top-level parent?
- enabling custom fields in admin?
- get_post_meta fields don’t show up on posts page
- Using custom fields in a filter hook
- Adding a prefix to a post title
- copy attachments to another post type and change attachment url
- Cannot edit post meta fields with rest API
- Only display custom field if it there is a value inside
- Add a post meta key and value only if it does not exist on the post
- Custom field values repeating
- Function to change meta value in database for each post
- Using WP Query to search by multiple meta fields
- Get aggregate list of all custom fields for entire blog
- Sorting posts by multiple values, combined
- WP_Query display next custom post from today’s date
- Can ordering post list by meta_value cause performance issue?
- How to Identify the Source of a Custom Field?
- Include woocommerce custom field value in front-end search result
- WP_Meta_Query causing long-running MySQL queries
- Separate table or usermeta
- Woocommerce with metabox plugin
- woocommerce product custom field
- trim custom field text value and show (…)
- Duplicate posts being displayed when querying Custom Fields
- How to validate custom field on lost password form before the user id field?
- Json api does not return all metadata
- Use custom field as a variable
- MySQL Query that looks for post with Custom Field, then changes Category
- ACF: How to get the full field name (meta_key) by a field key?
- two custom fields question
- Woocommerce: Custom fields and email shortcodes, ec_custom_field
- Tweak Meta for Post to work it for Pages also
- How to save multiple options from a dropdown in user profile
- How to display multiple images in custom field
- How to show a gloabl message on a user profile page (in back end)?
- Create Pop-Up Box with Custom Field Content Inside the Loop
- global function to apply filter to custom field
- Display the contents of a custom field of a page on their child
- Adding an editable field to template?
- Transferring author information from a custom field to a proper author
- How to select posts from multiple categories and metavalues?
- Read / Watch / Listen times – meta
- Login WP – Connect single field to an external api
- Is there a simpler version of WP Media?
- adding extra wordpress user info from registration form
- Custom Meta Box (SELECT) Not Saving
- modify wordpress caption shortcode
- jQuery – Automatic event trigger does not **really** check my form
- UPDATE on SELECT results. A SQL query to swap Author with Meta Box value
- Alter main archive, to show posts with meta as last
- Add microdata from schema.org [closed]
- Displaying multiple URLs as custom field values
- Display URL in a Custom Field
- Linking Custom Fields to Database Records