wphooks.info - wp_nav_menu_items

wp_nav_menu_items

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/nav-menu-template.php:
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
	/**
	 * Filters the HTML list content for navigation menus.
	 *
	 * @since 3.0.0
	 *
	 * @see wp_nav_menu()
	 *
	 * @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()
	 *
	 * @param string   $items The HTML list content for the menu items.
	 * @param stdClass $args  An object containing wp_nav_menu() arguments.