apply_filters( ‘customize_nav_menu_available_items’, array $items, string $object_type, string $object_name, int $page )

In this article

Filters the available menu items.

Parameters

$itemsarray
The array of menu items.
$object_typestring
The object type.
$object_namestring
The object name.
$pageint
The current page number.

Source

$items = apply_filters( 'customize_nav_menu_available_items', $items, $object_type, $object_name, $page );

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

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