apply_filters( 'parent_file', string $parent_file )
Filters the parent file of an admin menu sub-menu item.
Description
Allows plugins to move sub-menu items around.
Parameters
-
$parent_file
string -
The parent file.
Source
File: wp-admin/menu-header.php
.
View all references
$parent_file = apply_filters( 'parent_file', $parent_file );
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example: