Automattic\WooCommerce\Internal\DataStores\Orders
DataSynchronizer::custom_orders_table_is_authoritative
Is the custom orders table the authoritative data source for orders currently?
Method of the class: DataSynchronizer{}
No Hooks.
Returns
true|false. Whether the custom orders table the authoritative data source for orders currently.
Usage
$DataSynchronizer = new DataSynchronizer(); $DataSynchronizer->custom_orders_table_is_authoritative(): bool;
DataSynchronizer::custom_orders_table_is_authoritative() DataSynchronizer::custom orders table is authoritative code WC 10.3.6
public function custom_orders_table_is_authoritative(): bool {
return wc_string_to_bool( get_option( CustomOrdersTableController::CUSTOM_ORDERS_TABLE_USAGE_ENABLED_OPTION ) );
}