Automattic\WooCommerce\Utilities

LoggingUtil::logging_is_enabled │ public static │ WC 1.0

Determine the current value of the logging_enabled setting.

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

Хуков нет.

Возвращает

bool.

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

$result = LoggingUtil::logging_is_enabled(): bool;

Код LoggingUtil::logging_is_enabled() WC 11.2.2

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