WordPress at a glance
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.


add_filter( 'nav_menu_meta_box_object', 'filter_function_name_3702' );
function filter_function_name_3702( $meta_box_object ){
	// filter...

	return $meta_box_object;
The current object to add a menu items meta box for.

Where the hook is called

wp-admin/includes/nav-menu.php 212
$post_type = apply_filters( 'nav_menu_meta_box_object', $post_type );
wp-admin/includes/nav-menu.php 235
$tax = apply_filters( 'nav_menu_meta_box_object', $tax );
wp-admin/includes/ajax-actions.php 1510
$item = apply_filters( 'nav_menu_meta_box_object', $menus_meta_box_object );

Where the hook is used (in WP core)

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