do_action( 'bp_activity_mark_as_spam', BP_Activity_Activity $activity, string $source )

Fires at the end of the process to mark an activity item as spam.

Description

Parameters

$activity

Activity item being marked as spam.

$source

Source of determination of spam status. For example "by_a_person" or "by_akismet".

Source

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