W3cubDocs

/WordPress

apply_filters( 'customize_nav_menu_searched_items', array $items, array $args )

Filters the available menu items during a search request.

Parameters

$items

(array) The array of menu items.

$args

(array) Includes 'pagenum' and 's' (search) arguments.

Source

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

View on Trac

Changelog

Version Description
4.5.0 Introduced.

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