X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..58b0523c599c731e868bd4bc05b0d686a98d254f:/wp-admin/menu-header.php diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index b9c1dde9..d73fe9bd 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -1,168 +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(); - -