apply_filters( 'bp_activity_custom_update', int $activity_id, string $object, string $item_id, string $content )

Filters activity object for BuddyPress core and plugin authors before posting activity update.


Parameters Parameters

$activity_id

(int) ID of the activity item.

$object

(string) Activity item being associated to.

$item_id

(string) Component ID being posted to.

$content

(string) Activity content being posted.


Source Source

File: bp-activity/actions/post.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Fixed filter signature to match other instances of filter, with $activity_id as the first param.
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.