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
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. |