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.

Метод класса: COTMigrationUtil{}

Хуков нет.

Возвращает

true|false.

Использование

// private - только в коде основоного (родительского) класса
$result = $this->custom_orders_table_usage_is_enabled() : bool;

Код COTMigrationUtil::custom_orders_table_usage_is_enabled() WC 8.7.0

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