WPCF7_Turnstile::is_active
Returns true if the service is active.
Метод класса: WPCF7_Turnstile{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WPCF7_Turnstile = new WPCF7_Turnstile(); $WPCF7_Turnstile->is_active();
Код 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;
}