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:

Description

Gets the parent file of the current admin page.

Related Functions

get_admin_page_title, get_template_part, get_post_parent, _get_admin_bar_pref, get_page_by_path

Top Google Results

User discussions

wpseek mobile