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