Yoast\WP\SEO\Conditionals\Third_Party

W3_Total_Cache_Conditional::is_met()publicYoast 1.0

Returns whether or not this conditional is met.

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

Хуков нет.

Возвращает

true|false. Whether or not the conditional is met.

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

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

Код W3_Total_Cache_Conditional::is_met() Yoast 22.4

public function is_met() {
	if ( ! \defined( 'W3TC_DIR' ) ) {
		return false;
	}

	return \function_exists( 'w3tc_objectcache_flush' );
}