Description #
This filter returns Honeypot’s active status.
apply_filters('fluentform/honeypot_status', $status, $formId);
Usage #
add_filter('fluentform/honeypot_status', function($status , $formId){
return status;
}, 10, 2);
Parameters #
- $status (boolean) Honeypot’s Active status
- $formId (int) Form ID
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\App\Modules\Form\Honeypot -> isEnabled($formId = false)