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.
Method of the class: OrderUtil{}
No Hooks.
Return
true|false
.
Usage
$result = OrderUtil::is_custom_order_tables_in_sync() : bool;
OrderUtil::is_custom_order_tables_in_sync() OrderUtil::is custom order tables in sync code WC 9.4.2
public static function is_custom_order_tables_in_sync() : bool { return wc_get_container()->get( COTMigrationUtil::class )->is_custom_order_tables_in_sync(); }