do_action( 'bp_activity_akismet_mark_as_spam', BP_Activity_Activity $activity , string $source )
Fires after marking an activity item has been marked as spam.
Description
Parameters
- $activity
-
Activity object being marked as spam.
- $source
-
Source of the whom marked as spam. Either "by_a_person" (e.g. a person has manually marked the activity as spam) or "by_akismet".
Source
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.