Automattic\WooCommerce\Enums
FeaturePluginCompatibility{}
Enum class for feature plugin compatibility.
Хуков нет.
Использование
$FeaturePluginCompatibility = new FeaturePluginCompatibility(); // use class methods
Методы
Нет Методов у класса.Код FeaturePluginCompatibility{} FeaturePluginCompatibility{} WC 10.8.1
final class FeaturePluginCompatibility {
/**
* Plugins are compatible by default with the feature.
*
* @var string
*/
public const COMPATIBLE = 'compatible';
/**
* Plugins are incompatible by default with the feature.
*
* @var string
*/
public const INCOMPATIBLE = 'incompatible';
/**
* Plugin compatibility with the feautre is yet to be determined. Internal use only.
*
* @internal
* @var string
*/
public const UNCERTAIN = 'uncertain';
/**
* Valid values for registration of feature compatibility.
*
* @var string[]
*/
public const VALID_REGISTRATION_VALUES = array(
self::COMPATIBLE,
self::INCOMPATIBLE,
);
}