formcierge_entry_spam
Action

Since v1.0.0

Fires when an entry is marked as spam. Use to sync spam decisions with external spam-filtering or analytics tools.

Parameters
$entry_id int The ID of the spam entry.
$form_id int The ID of the form.
Defined in
includes/Controllers/EntryController.php
add_action( 'formcierge_entry_spam', function ( $entry_id, $form_id ) {
    my_report_spam_ip( $entry_id );
}, 10, 2 );