WC_Admin_Webhooks::is_webhook_settings_page()privateWC 1.0

Check if is webhook settings page.

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

No Hooks.

Return

true|false.

Usage

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

Code of WC_Admin_Webhooks::is_webhook_settings_page() WC 6.7.0

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