apply_filters( 'wp_get_nav_menu_object', object|false $menu_obj, string $menu )

Filters the nav_menu term retrieved for wp_get_nav_menu_object().

Description Description

Parameters Parameters


(object|false) Term from nav_menu taxonomy, or false if nothing had been found.


(string) The menu ID, slug, or name passed to wp_get_nav_menu_object().

Top ↑

Source Source

File: wp-includes/nav-menu.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.