Automattic\WooCommerce\Internal\Features
BlockEditorUnifiedAssets::is_enabled
Check whether unified block editor assets are enabled.
Method of the class: BlockEditorUnifiedAssets{}
No Hooks.
Returns
bool. True when unified block editor assets are enabled.
Usage
$result = BlockEditorUnifiedAssets::is_enabled(): bool;
Changelog
| Since 11.1.0 | Introduced. |
BlockEditorUnifiedAssets::is_enabled() BlockEditorUnifiedAssets::is enabled code WC 11.1.2
public static function is_enabled(): bool {
return FeaturesUtil::feature_is_enabled( self::FEATURE_NAME );
}