Performs a basic check whether reCAPTCHA is configured with a public key and secret key.
Description
Return
(bool) True if reCAPTCHA is configured, false otherwise.
Source
File: src/modules/protectors/recaptcha.php
protected function is_configured() { $options = $this->get_options(); return ! empty( $options['site_key'] ) && ! empty( $options['secret_key'] ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |