Automattic\WooCommerce\Internal\Utilities
COTMigrationUtil::custom_orders_table_usage_is_enabled()
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() COTMigrationUtil::custom orders table usage is enabled code WC 9.6.1
private function custom_orders_table_usage_is_enabled() : bool { return $this->table_controller->custom_orders_table_usage_is_enabled(); }