do_action( 'bp_activity_action_spam_activity', int $activity_id, int $user_id )

Fires after the marking activity as spam so plugins can act afterwards based on the activity.

Description

Parameters

$activity_id

(int) Activity ID that was marked as spam.

$user_id

(int) User ID associated with activity.

Source

File: bp-activity/actions/spam.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.