Automattic\WooCommerce\Internal\Features

BlockEditorUnifiedAssets::is_enabled │ public static │ WC 11.1.0

Check whether unified block editor assets are enabled.

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

Хуков нет.

Возвращает

bool. True when unified block editor assets are enabled.

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

$result = BlockEditorUnifiedAssets::is_enabled(): bool;

Список изменений

С версии 11.1.0 Введена.

Код BlockEditorUnifiedAssets::is_enabled() WC 11.2.2

public static function is_enabled(): bool {
	return FeaturesUtil::feature_is_enabled( self::FEATURE_NAME );
}