wp_get_nav_menu_items

wp_get_nav_menu_items

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_get_nav_menu_items') is found 1 times:

  • /wp-includes/nav-menu.php line 780
    	 * @param array  $items An array of menu item post objects.
    	 * @param object $menu  The menu object.
    	 * @param array  $args  An array of arguments used to retrieve menu item objects.
    	 */
    	return apply_filters( 'wp_get_nav_menu_items', $items, $menu, $args );
    }
    
    /**
     * Updates post and term caches for all linked objects for a list of menu items.
     *
     * @since 6.1.0
    

See this hook used in plugins: