function _recaptcha_v3_id_exists in reCAPTCHA v3 7
Returns whether a recaptcha v3 id already exists.
See also
1 call to _recaptcha_v3_id_exists()
1 string reference to '_recaptcha_v3_id_exists'
- recaptcha_v3_admin_settings in ./
recaptcha_v3.admin.inc - Form callback; administrative settings for Google No CAPTCHA.
File
- ./
recaptcha_v3.module, line 293 - Verifies if user is a human without necessity to solve a CAPTCHA.
Code
function _recaptcha_v3_id_exists($value) {
return db_query_range('SELECT 1 FROM {recaptcha_v3_actions} WHERE id = :value', 0, 1, array(
':value' => $value,
))
->fetchField();
}