Filters the navigation menu objects being returned.
Description
See also
Parameters
$menus
WP_Term[]- An array of menu objects.
$args
array- An array of arguments used to retrieve menu objects.
Source
return apply_filters( 'wp_get_nav_menus', get_terms( $args ), $args );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.