do_action( 'bp_activity_add', array $r , int $activity_id )
Fires at the end of the execution of adding a new activity item, before returning the new activity item ID.
Parameters Parameters
- $r
-
(array) Array of parsed arguments for the activity item being added.
- $activity_id
-
(int) The id of the activity item being added.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Added the $activity_id parameter. |
1.1.0 | Introduced. |