do_action_ref_array( 'bp_activity_akismet_spam_caught', BP_Activity_Activity $activity, array $activity_data )

Fires after an activity item has been proven to be spam, but before officially being marked as spam.

Description

Parameters

$activity

The activity item proven to be spam.

$activity_data

Array of activity data for item including Akismet check results data.

Source

File: bp-activity/classes/class-bp-akismet.php

Changelog

Changelog
Version Description
BuddyPress 1.6.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.