Filters the nav_menu term retrieved for wp_get_nav_menu_object() .
Parameters
$menu_obj
WP_Term|false- Term from nav_menu taxonomy, or false if nothing had been found.
$menu
int|string|WP_Term- The menu ID, slug, name, or object passed to wp_get_nav_menu_object() .
More Arguments from wp_get_nav_menu_object( … $menu )
Menu ID, slug, name, or object.
Source
return apply_filters( 'wp_get_nav_menu_object', $menu_obj, $menu );
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.