wphooks.info - customize_nav_menu_searched_items

customize_nav_menu_searched_items

The hook occurs in the following file:

wp-includes/class-wp-customize-nav-menus.php:
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
		}

		/**
		 * 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
	 * @access public