bp_activity_add()

bp_activity_add() is used to insert new activity items into the database. Usage Parameters $args An array that describes the activity item that you’re creating. Possible values: ‘id’ (optional) Pass a numerical id to update an existing activity item ‘action’ An HTML string summarizing the activity item, which is used by the template when displaying the … Continue reading bp_activity_add()