Yoast\WP\SEO\Conditionals\Third_Party
W3_Total_Cache_Conditional::is_met()
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() W3 Total Cache Conditional::is met Yoast 24.6
public function is_met() { if ( ! \defined( 'W3TC_DIR' ) ) { return false; } return \function_exists( 'w3tc_objectcache_flush' ); }