W3cubDocs

/WordPress

apply_filters( 'customize_nav_menu_available_items', array $items, string $type, string $object, int $page )

Filters the available menu items.

Parameters

$items

(array) The array of menu items.

$type

(string) The object type.

$object

(string) The object name.

$page

(int) The current page number.

Source

File: wp-includes/class-wp-customize-nav-menus.php

View on Trac

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_nav_menu_available_items