Automattic\WooCommerce\Internal\ProductGallery

ProductMediaGallery::is_feature_enabled │ public static │ WC 1.0

Check if product gallery videos are enabled.

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

Хуков нет.

Возвращает

bool.

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

$result = ProductMediaGallery::is_feature_enabled(): bool;

Код ProductMediaGallery::is_feature_enabled() WC 11.3.0

public static function is_feature_enabled(): bool {
	return FeaturesUtil::feature_is_enabled( self::FEATURE_ID );
}