WPCF7_ContactForm::nonce_is_active()
Returns true if nonce is active for this contact form.
Метод класса: WPCF7_ContactForm{}
Хуки из метода
Возвращает
null
. Ничего (null).
Использование
$WPCF7_ContactForm = new WPCF7_ContactForm(); $WPCF7_ContactForm->nonce_is_active();
Код WPCF7_ContactForm::nonce_is_active() WPCF7 ContactForm::nonce is active CF7 6.0.3
public function nonce_is_active() { $is_active = WPCF7_VERIFY_NONCE; if ( $this->is_true( 'subscribers_only' ) ) { $is_active = true; } return (bool) apply_filters( 'wpcf7_verify_nonce', $is_active, $this ); }