Yoast\WP\SEO\Conditionals\Third_Party

Jetpack_Boost_Active_Conditional::is_met()publicYoast 1.0

Returns true when the Jetpack_Boost class exists within this WordPress installation.

Метод класса: Jetpack_Boost_Active_Conditional{}

Хуков нет.

Возвращает

true|false. true when the Jetpack_Boost class exists within this WordPress installation.

Использование

$Jetpack_Boost_Active_Conditional = new Jetpack_Boost_Active_Conditional();
$Jetpack_Boost_Active_Conditional->is_met();

Код Jetpack_Boost_Active_Conditional::is_met() Yoast 23.5

public function is_met() {
	return \class_exists( '\Automattic\Jetpack_Boost\Jetpack_Boost', false );
}