| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Conditionals; |
| 4 |
|
| 5 |
/** |
| 6 |
* Checks if the Addon_Installation constant is set. |
| 7 |
*/ |
| 8 |
class Addon_Installation_Conditional extends Feature_Flag_Conditional { |
| 9 |
|
| 10 |
/** |
| 11 |
* Returns the name of the feature flag. |
| 12 |
* 'YOAST_SEO_' is automatically prepended to it and it will be uppercased. |
| 13 |
* |
| 14 |
* @return string the name of the feature flag. |
| 15 |
*/ |
| 16 |
protected function get_feature_flag() { |
| 17 |
return 'ADDON_INSTALLATION'; |
| 18 |
} |
| 19 |
} |
| 20 |
|