WordPress at Your Fingertips
filter is not described

nav_menu_meta_box_object filter-hook . WP 3.0.0

Filters whether a menu items meta box will be added for the current object type.

If a falsey value is returned instead of an object, the menu items meta box for the current meta box object will not be added.

Usage

add_filter( 'nav_menu_meta_box_object', 'filter_function_name_7410' );
function filter_function_name_7410( $post_type ){
	// filter...

	return $post_type;
}
$post_type(WP_Post_Type|false)
The current object to add a menu items meta box for.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wp_nav_menu_post_type_meta_boxes()
nav_menu_meta_box_object
wp_nav_menu_taxonomy_meta_boxes()
nav_menu_meta_box_object
wp_ajax_menu_get_metabox()
nav_menu_meta_box_object
wp-admin/includes/nav-menu.php 229
$post_type = apply_filters( 'nav_menu_meta_box_object', $post_type );
wp-admin/includes/nav-menu.php 253
$tax = apply_filters( 'nav_menu_meta_box_object', $tax );
wp-admin/includes/ajax-actions.php 1815
$item = apply_filters( 'nav_menu_meta_box_object', $menus_meta_box_object );

Where in WP core the hook is used WordPress

wp-includes/default-filters.php 289
add_filter( 'nav_menu_meta_box_object', '_wp_nav_menu_meta_box_object' );