wp_nav_menu_objects

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$sorted_menu_items

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

$args

An object containing wp_nav_menu() arguments.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply