wpseek.com
A WordPress-centric search engine for devs and theme authors



customize_nav_menu_available_items › WordPress Filter Hooks

Since4.3.0
Deprecatedn/a
apply_filters( 'customize_nav_menu_available_items', $items, $object_type, $object_name, $page )
Parameters: (4)
  • (array) $items The array of menu items.
    Required: Yes
  • (string) $object_type The object type.
    Required: Yes
  • (string) $object_name The object name.
    Required: Yes
  • (int) $page The current page number.
    Required: Yes
Defined at:
Codex:

Filters the available menu items.





Source

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