Automattic\WooCommerce\Internal\Orders
OrderAttributionController::get_order_screen_id
Get the screen ID for the orders page.
Метод класса: OrderAttributionController{}
Хуков нет.
Возвращает
Строку.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_order_screen_id(): string;
Код OrderAttributionController::get_order_screen_id() OrderAttributionController::get order screen id WC 10.4.0
private function get_order_screen_id(): string {
return OrderUtil::custom_orders_table_usage_is_enabled() ? wc_get_page_screen_id( 'shop-order' ) : 'shop_order';
}