A WordPress-centric search engine for devs and theme authors



customize_nav_menu_searched_items ›

Since4.5.0
Deprecatedn/a
apply_filters( 'customize_nav_menu_searched_items', $items, $args )
Parameters: (2)
  • (array) $items The array of menu items.
    Required: Yes
  • (array) $args Includes 'pagenum' and 's' (search) arguments.
    Required: Yes
Defined at:
Codex:

Filters the available menu items during a search request.





Source

$items = apply_filters( 'customize_nav_menu_searched_items', $items, $args );