Function __global->enforce_captcha
Definitions
sources/captcha.php
- Calling this assumes CAPTCHA was needed. Checks that it was done correctly.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $regenerate_on_error | boolean | No | No | True | N/A | N/A | Whether to possibly regenerate upon error |
Preview
Code (PHP)
/**
* Calling this assumes CAPTCHA was needed. Checks that it was done correctly.
*
* @param boolean $regenerate_on_error Whether to possibly regenerate upon error
*/
function enforce_captcha(bool $regenerate_on_error = true)
* Calling this assumes CAPTCHA was needed. Checks that it was done correctly.
*
* @param boolean $regenerate_on_error Whether to possibly regenerate upon error
*/
function enforce_captcha(bool $regenerate_on_error = true)

