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

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

Description

Parameters

$activity

Activity item being marked as ham.

$source

Source of determination of ham 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.