wphooks.info - customize_nav_menu_available_items

customize_nav_menu_available_items

The hook occurs in the following file:

wp-includes/class-wp-customize-nav-menus.php:
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
		/**
		 * Filters the available menu items.
		 *
		 * @since 4.3.0
		 *
		 * @param array  $items  The array of menu items.
		 * @param string $type   The object type.
		 * @param string $object The object name.
		 * @param int    $page   The current page number.
		 */
		$items = apply_filters( 'customize_nav_menu_available_items', $items, $type, $object, $page );

		return $items;
	}

	/**
	 * Ajax handler for searching available menu items.
	 *
	 * @since 4.3.0
	 * @access public