get_admin_page_parent
get_admin_page_parent ( $parent_page = '' )
Parameters:- (string) parent_page Optional. The slug name for the parent menu (or the file name of a standard WordPress admin page). Default empty string.
Returns:- (string) The parent file of the current admin page.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Gets the parent file of the current admin page.