oont-contents/plugins/jetpack-boost/app/contracts/interface-feature.php
2025-04-06 08:34:48 +02:00

17 lines
354 B
PHP

<?php
namespace Automattic\Jetpack_Boost\Contracts;
/**
* Every plugin feature that's large enough
* to need setup also needs a slug
*/
interface Feature extends Has_Setup, Has_Slug {
/**
* Whether the feature is available for use.
* Use this to check for feature flags, etc.
*
* @return bool
*/
public static function is_available();
}