WordPress at Your Fingertips
function is not described

WC_Admin_API_Keys::is_api_keys_settings_page() private WC 1.0

Check if is API Keys settings page.

{} It's a method of the class: WC_Admin_API_Keys{}

No Hooks.

Return

true|false.

Usage

// private - for code of main (parent) class only
$result = $this->is_api_keys_settings_page();

Code of WC_Admin_API_Keys::is_api_keys_settings_page() WC 5.9.0

private function is_api_keys_settings_page() {
	return isset( $_GET['page'], $_GET['tab'], $_GET['section'] ) && 'wc-settings' === $_GET['page'] && 'advanced' === $_GET['tab'] && 'keys' === $_GET['section']; // WPCS: input var okay, CSRF ok.
}