apply_filters( 'wp_nav_menu_objects', array $sorted_menu_items, stdClass $args )

Filters the sorted list of menu item objects before generating the menu’s HTML.


Parameters

$sorted_menu_items

The menu items, sorted by each menu item's menu order.

$args

An object containing wp_nav_menu() arguments.


Source

File: wp-includes/nav-menu-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.