do_action( 'bp_activity_before_action_spam_activity', int $activity_id, object $activity )

Fires before the marking activity as spam so plugins can modify things if they want to.

Description

Parameters

$activity_id

Activity ID to be marked as spam.

$activity

Activity object for the ID to be marked as spam.

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.