Filters setting properties applied to the Custom Captcha addon.
wpforms_math_captcha filter is applied to an array that sets minimum and maximum numbers, as well as the type of calculations used with those values (addition, multiplication, etc). It can be used to change the integer range and operators allowed in a custom captcha field.
- (array) (Required) Minimum integer, maximum integer, and operators that will be used
Below explains what is contained in the array.
$settings = array( 'min' => 1, 'max' => 15, 'cal' => array( '+', '*' ), ); $settings = apply_filters( 'wpforms_math_captcha', $settings );