Automattic\WooCommerce\Internal\Orders
OrderAttributionController::get_order_screen_id
Get the screen ID for the orders page.
Method of the class: OrderAttributionController{}
No Hooks.
Returns
String.
Usage
// private - for code of main (parent) class only $result = $this->get_order_screen_id(): string;
OrderAttributionController::get_order_screen_id() OrderAttributionController::get order screen id code WC 10.3.3
private function get_order_screen_id(): string {
return OrderUtil::custom_orders_table_usage_is_enabled() ? wc_get_page_screen_id( 'shop-order' ) : 'shop_order';
}