wp_get_nav_menus

Advertisement

Summery Summery

Filters the navigation menu objects being returned.

Syntax Syntax

apply_filters( 'wp_get_nav_menus', WP_Term[] $menus, array $args )

Parameters Parameters

$menus

(WP_Term[]) An array of menu objects.

$args

(array) An array of arguments used to retrieve menu objects.

Source Source

File: wp-includes/nav-menu.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.