Test Spam Submission

Is there a way to simulate a spam submission? We are using gform_after_submission to post to a 3rd party CRM. We also have Akismet and reCAPTCHA but spam is still being sent to our CRM. Using the following code, we want to prevent that but we want to test it before we roll it out.

if ( rgar( $entry, 'status' ) === 'spam' ) {
        return;
    }

You can use the gform_entry_is_spam filter to mark submissions as spam:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.