Automattic\WooCommerce\Utilities
OrderUtil::is_custom_order_tables_in_sync()
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() OrderUtil::is custom order tables in sync WC 9.8.1
public static function is_custom_order_tables_in_sync() : bool { return wc_get_container()->get( COTMigrationUtil::class )->is_custom_order_tables_in_sync(); }