Automattic\WooCommerce\Admin

PageController::is_modern_settings_pagepublic staticWC 1.0

Returns true if we are on a modern settings page.

Method of the class: PageController{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = PageController::is_modern_settings_page();

PageController::is_modern_settings_page() code WC 9.9.5

public static function is_modern_settings_page() {
	return self::is_settings_page() && Features::is_enabled( 'settings' );
}