WordPress at Your Fingertips
filter is not described

submenu_file filter-hook . WP 4.4.0

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


add_filter( 'submenu_file', 'filter_function_name_6749', 10, 2 );
function filter_function_name_6749( $submenu_file, $parent_file ){
	// filter...

	return $submenu_file;
The submenu file.
The submenu item's parent file.


Since 4.4.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.