WPCF7_Turnstile::is_active │ public │ CF7 1.0

Returns true if the service is active.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WPCF7_Turnstile = new WPCF7_Turnstile();
$WPCF7_Turnstile->is_active();

Код WPCF7_Turnstile::is_active() CF7 6.1.7

public function is_active() {
	$sitekey = $this->get_sitekey();
	$secret = $this->get_secret( $sitekey );
	return $sitekey && $secret;
}