Automattic\WooCommerce\Utilities
OrderUtil::get_table_for_orders
Get the name of the database table that's currently in use for orders.
Метод класса: OrderUtil{}
Хуков нет.
Возвращает
Строку.
Использование
$result = OrderUtil::get_table_for_orders();
Код OrderUtil::get_table_for_orders() OrderUtil::get table for orders WC 10.3.4
public static function get_table_for_orders() {
return wc_get_container()->get( COTMigrationUtil::class )->get_table_for_orders();
}