View Categories

fluentform/honeypot_name

Description  #

This filter is available just before rendering the form. You can use this filter to modify the form object.

apply_filters('fluentform/honeypot_name', $name, $formId);

Usage   #

The following would apply to all forms:

add_filter('fluentform/honeypot_name', function($name, $formId){
    return $name;
});

Parameters   #

$name (string) Honeypot Field Name
$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 -> getFieldName($formId)