Automattic\WooCommerce\Internal\Utilities

COTMigrationUtil::custom_orders_table_usage_is_enabled()privateWC 1.0

Helper function to get whether custom order tables are enabled or not.

Method of the class: COTMigrationUtil{}

No Hooks.

Return

true|false.

Usage

// private - for code of main (parent) class only
$result = $this->custom_orders_table_usage_is_enabled() : bool;

COTMigrationUtil::custom_orders_table_usage_is_enabled() code WC 8.7.0

private function custom_orders_table_usage_is_enabled() : bool {
	return $this->table_controller->custom_orders_table_usage_is_enabled();
}