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.
Description Description
Parameters Parameters
- $r
-
Array of parsed arguments for the activity item being added.
- $activity_id
-
The id of the activity item being added.
Source Source
File: bp-activity/bp-activity-functions.php
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Added the $activity_id parameter. |
1.1.0 | Introduced. |