Automattic\WooCommerce\Utilities

OrderUtil::get_order_admin_screen()public staticWC 1.0

Helper function to get screen name of orders page in wp-admin.

Метод класса: OrderUtil{}

No Hooks.

Return

String.

Usage

$result = OrderUtil::get_order_admin_screen() : string;

Code of OrderUtil::get_order_admin_screen() WC 7.1.0

public static function get_order_admin_screen() : string {
	return wc_get_container()->get( COTMigrationUtil::class )->get_order_admin_screen();
}