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.


Top ↑

Source Source

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


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.