WordPress at a glance
filter is not described

customize_nav_menu_available_item_types filter-hook . WP 4.3.0

Filters the available menu item types.

Usage

add_filter( 'customize_nav_menu_available_item_types', 'filter_function_name_1548' );
function filter_function_name_1548( $item_types ){
	// filter...

	return $item_types;
}
$item_types(array)
Navigation menu item types.

Notes

  • Since 4.7.0 Each array item now includes a $type_label in addition to $title, $type, and $object.

Where the hook is called

WP_Customize_Nav_Menus::available_item_types()
wp-includes/class-wp-customize-nav-menus.php 783
$item_types = apply_filters( 'customize_nav_menu_available_item_types', $item_types );

Where the hook is used (in WP core)

Does not used.