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

File: bp-activity/bp-activity-functions.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Added the $activity_id parameter.
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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