-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put the feature behind a feature flag
- Loading branch information
1 parent
1ef0932
commit 61c0670
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace Yoast\WP\SEO\Conditionals; | ||
|
||
/** | ||
* Conditional for the CHECK_REQUIRED_VERSION feature flag. | ||
*/ | ||
class Check_Required_Version_Conditional extends Feature_Flag_Conditional { | ||
|
||
/** | ||
* Returns the name of the feature flag. | ||
* | ||
* @return string The name of the feature flag. | ||
*/ | ||
protected function get_feature_flag() { | ||
return 'CHECK_REQUIRED_VERSION'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters