wphooks.info - submenu_file

submenu_file

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/menu-header.php:
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
$parent_file = apply_filters( 'parent_file', $parent_file );

/**
 * Filters the file of an admin menu sub-menu item.
 *
 * @since 4.4.0
 *
 * @param string $submenu_file The submenu file.
 * @param string $parent_file  The submenu item's parent file.
 */
$submenu_file = apply_filters( 'submenu_file', $submenu_file, $parent_file );

get_admin_page_parent();

/**
 * Display menu.
 *
 * @access private
 * @since 2.7.0
 *