wp_nav_menu_items

wp_nav_menu_items

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('wp_nav_menu_items') is found 1 times:

  • /wp-includes/nav-menu-template.php line 267
    	 *
    	 * @param string   $items The HTML list content for the menu items.
    	 * @param stdClass $args  An object containing wp_nav_menu() arguments.
    	 */
    	$items = apply_filters( 'wp_nav_menu_items', $items, $args );
    	/**
    	 * Filters the HTML list content for a specific navigation menu.
    	 *
    	 * @since 3.0.0
    	 *
    	 * @see wp_nav_menu()