AdminMenu::is_current_page( string $page_slug = '', string $action = '' )

CHeck if it is current page by parameters


Parameters

$page_slug

(string) (Optional) Menu name.

Default value: ''

$action

(string) (Optional) Menu name.

Default value: ''


Return

(string) page url


Source

File: admin-core/inc/admin-menu.php