Automattic\WooCommerce\Utilities

OrderUtil::custom_orders_table_usage_is_enabled │ public static │ WC 1.0

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

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

Хуков нет.

Возвращает

bool.

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

$result = OrderUtil::custom_orders_table_usage_is_enabled(): bool;

Код OrderUtil::custom_orders_table_usage_is_enabled() WC 11.3.0

public static function custom_orders_table_usage_is_enabled(): bool {
	return wc_get_container()->get( CustomOrdersTableController::class )->custom_orders_table_usage_is_enabled();
}