Automattic\WooCommerce\Internal\Utilities

COTMigrationUtil::custom_orders_table_usage_is_enabled │ private │ WC 1.0

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

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

Хуков нет.

Возвращает

bool.

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

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

Код COTMigrationUtil::custom_orders_table_usage_is_enabled() WC 11.3.0

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