customize_nav_menu_searched_items

最后更新于:2021-11-26 04:05:52

apply_filters( ‘customize_nav_menu_searched_items’, array $items, array $args )

Filters the available menu items during a search request.

参数

$items

(array)
The array of menu items.

$args

(array)
Includes ‘pagenum’ and ‘s’ (search) arguments.

源文件

文件: gc-includes/class-gc-customize-nav-menus.php

View on Trac