is_nav_menu_item


is_nav_menu_item ( $menu_item_id = 0 )

Parameters:
  • (int) $menu_item_id The ID of the potential nav menu item.
Returns:
  • (bool) Whether the given ID is that of a nav menu item.
Defined at:

Description

Determines whether the given ID is a nav menu item.

Related Functions

_sort_nav_menu_items, _is_valid_nav_menu_item, is_nav_menu, wp_setup_nav_menu_item, wp_save_nav_menu_items

Top Google Results

User discussions

wpseek mobile