Reply To: Modify the activity loop
Hi @deshmukh
- You can add items to the activity stream using
bp_activity_add(). You’d write a custom function and hook it to the relevant action which fires when a group message has been posted (see a) - The
display_commentsparameter will help you here. You’ll need to changethreadedtostream(see b)
Refs:
a) https://codex.buddypress.org/developer/function-examples/bp_activity_add/
b) https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/