Automattic\WooCommerce\Utilities

OrderUtil::is_custom_order_tables_in_syncpublic staticWC 1.0

Checks if posts and order custom table sync is enabled and there are no pending orders.

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

Хуков нет.

Возвращает

true|false.

Использование

$result = OrderUtil::is_custom_order_tables_in_sync(): bool;

Код OrderUtil::is_custom_order_tables_in_sync() WC 10.5.2

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