Skip to content

Add filter for data that is sent to Akismet #3701

@cfinke

Description

@cfinke

What Version Of Caldera Forms, WordPress and PHP Are You Using?

WordPress Version: 5.9.1 PHP Version: 8.0.2 MySQL Version: 8.0.28 Caldera Forms Version: 1.9.6 WP_DEBUG: 1

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?

Yes

What Is The Unexpected Behaviour?

I'm one of the developers of Akismet, and it would be helpful if you would add a filter on the data that is about to be sent to Akismet in Caldera_Forms::akismet_scanner(). Something like this:

$data = apply_filters( 'caldera_form_akismet_values', $data, $config, $form );

right before the line $request = http_build_query($data);. This will ensure that the Akismet plugin can add any helpful information to the request before it is sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions