wphooks.info - customize_nav_menu_searched_items

customize_nav_menu_searched_items

(trunk - 5.0-alpha-43320)

The hook occurs in the following file:

wp-includes/class-wp-customize-nav-menus.php:
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
		}

		/**
		 * Filters the available menu items during a search request.
		 *
		 * @since 4.5.0
		 *
		 * @param array $items The array of menu items.
		 * @param array $args  Includes 'pagenum' and 's' (search) arguments.
		 */
		$items = apply_filters( 'customize_nav_menu_searched_items', $items, $args );

		return $items;
	}

	/**
	 * Enqueue scripts and styles for Customizer pane.
	 *
	 * @since 4.3.0
	 */