Files
medicalalert-web-reloaded/wp/wp-content/plugins/wordpress-seo/src/conditionals/third-party/jetpack-boost-active-conditional.php
Rachit Bhargava 5d0f0734d8 first commit
2023-07-21 17:12:10 -04:00

21 lines
543 B
PHP

<?php
namespace Yoast\WP\SEO\Conditionals\Third_Party;
use Yoast\WP\SEO\Conditionals\Conditional;
/**
* Conditional that is only met when Jetpack_Boost exists.
*/
class Jetpack_Boost_Active_Conditional implements Conditional {
/**
* Returns `true` when the Jetpack_Boost class exists within this WordPress installation.
*
* @return bool `true` when the Jetpack_Boost class exists within this WordPress installation.
*/
public function is_met() {
return \class_exists( '\Automattic\Jetpack_Boost\Jetpack_Boost', false );
}
}