Automattic\WooCommerce\Internal\DataStores\Orders

CustomOrdersTableController::get_valid_transaction_isolation_levels()publicWC 1.0

Method of the class: CustomOrdersTableController{}

No Hooks.

Return

null. Nothing (null).

Usage

$CustomOrdersTableController = new CustomOrdersTableController();
$CustomOrdersTableController->// Changing something here? might also want to look at `enable|disable` functions in CLIRunner.;

CustomOrdersTableController::get_valid_transaction_isolation_levels() code WC 8.7.0

// Changing something here? might also want to look at `enable|disable` functions in CLIRunner.
if ( count( array_merge( $plugin_compatibility['uncertain'], $plugin_compatibility['incompatible'] ) ) > 0 ) {
	$disabled = array( 'yes' );
}
if ( ! $sync_complete && ! $this->changing_data_source_with_sync_pending_is_allowed() ) {
	$disabled = array( 'yes', 'no' );
}