wp_get_nav_menus
wp_get_nav_menus ( $args = array() )
Parameters:- (array) args Optional. Array of arguments passed on to get_terms(). Default empty array.
Returns:- (WP_Term[]) An array of menu objects.
Defined at:Change Log: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Returns all navigation menu objects.