Merged in feature/MAW-855-import-code-into-aws (pull request #2)
code import from pantheon * code import from pantheon
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Yoast\WP\SEO\Premium\Conditionals;
|
||||
|
||||
use Yoast\WP\SEO\Conditionals\Conditional;
|
||||
|
||||
/**
|
||||
* Conditional that is only met when Easy Digital Downloads is active.
|
||||
*/
|
||||
class EDD_Conditional implements Conditional {
|
||||
|
||||
/**
|
||||
* Returns `true` when the Easy Digital Downloads plugin is installed and activated.
|
||||
*
|
||||
* @return bool `true` when the Easy Digital Downloads plugin is installed and activated.
|
||||
*/
|
||||
public function is_met() {
|
||||
return \class_exists( 'Easy_Digital_Downloads' );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user