Files
medicalalert-web-reloaded/wp/wp-content/plugins/wordpress-seo/src/conditionals/jetpack-conditional.php
2024-06-17 14:42:23 -04:00

20 lines
415 B
PHP

<?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is only met when Jetpack exists.
*/
class Jetpack_Conditional implements Conditional {
/**
* Returns `true` when the Jetpack plugin exists on this
* WordPress installation.
*
* @return bool `true` when the Jetpack plugin exists on this WordPress installation.
*/
public function is_met() {
return \class_exists( 'Jetpack' );
}
}