Automattic\WooCommerce\Internal\Utilities
COTMigrationUtil::custom_orders_table_usage_is_enabled()
Helper function to get whether custom order tables are enabled or not.
Метод класса: COTMigrationUtil{}
Хуков нет.
Возвращает
true|false
.
Использование
// private - только в коде основоного (родительского) класса $result = $this->custom_orders_table_usage_is_enabled() : bool;
Код COTMigrationUtil::custom_orders_table_usage_is_enabled() COTMigrationUtil::custom orders table usage is enabled WC 8.3.1
private function custom_orders_table_usage_is_enabled() : bool { return $this->table_controller->custom_orders_table_usage_is_enabled(); }