X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/76aea3697c6043c1613370f172395b4f65ee71f0..fcaa67f093b5c83deea7a361a8cf8c6ac4e832d3:/wp-admin/menu-header.php?ds=sidebyside diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index 90b62969..d73fe9bd 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -1,170 +1,242 @@ +/** + * Filter the parent file of an admin menu sub-menu item. + * + * Allows plugins to move sub-menu items around. + * + * @since MU + * + * @param string $parent_file The parent file. + */ +$parent_file = apply_filters( 'parent_file', $parent_file ); - +get_admin_page_parent(); - -