Description #
This filter is used in the Akismet handler.
apply_filters('fluentform/akismet_fields', $info, $data, $form);
Usage #
add_filter('fluentform/akismet_fields', function ($info, $data, $form) {
//do your stuff
return $info;
}, 10, 3);
Parameters #
- $info (array) Akismet Data
- $data (array) Form Data
- $form (Object) The $form Object
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\AkismetHandler -> getAkismetFields($data, $form)