WordPress at a glance
filter is not described

parent_file filter-hook . WP MU

Filters the parent file of an admin menu sub-menu item.

Allows plugins to move sub-menu items around.

Usage

add_filter( 'parent_file', 'filter_function_name_3453' );
function filter_function_name_3453( $parent_file ){
	// filter...

	return $parent_file;
}
$parent_file(string)
The parent file.

Notes

  • Since MU (3.0.0)

Where the hook is called

In file: /wp-admin/menu-header.php
parent_file
wp-admin/menu-header.php 38
$parent_file = apply_filters( 'parent_file', $parent_file );

Where the hook is used (in WP core)

Does not used.