get_admin_page_parent( string $parent_page = '' )
Gets the parent file of the current admin page.
Parameters
- $parent_page
-
(Optional) The slug name for the parent menu (or the file name of a standard WordPress admin page).
Default value: ''
Return
(string) The parent file of the current admin page.
Source
File: wp-admin/includes/plugin.php
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |