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 Description
Parameters Parameters
- $activity_id
-
Activity ID to be marked as spam.
- $activity
-
Activity object for the ID to be marked as spam.
Source Source
File: bp-activity/actions/spam.php
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |