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.
Description Description
Parameters Parameters
- $activity_id
-
ID of the activity item.
- $object
-
Activity item being associated to.
- $item_id
-
Component ID being posted to.
- $content
-
Activity content being posted.
Source Source
File: bp-activity/actions/post.php
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. |