Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to add custom variable to bp_activity_add ?

@shanebp

Moderator

You cannot just add a parameter to the function.
However you can use the action hook to perform additional operations:
do_action( 'bp_activity_add', $r, $activity->id );

Skip to toolbar