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.


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

	return $parent_file;
The parent file.


  • Since MU (3.0.0)

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.