do_action( 'bp_groups_posted_update', string $content, int $user_id, int $group_id, bool $activity_id )

Fires after posting of an Activity status update affiliated with a group.

Description

Parameters

$content

The content of the update.

$user_id

ID of the user posting the update.

$group_id

ID of the group being posted to.

$activity_id

Whether or not the activity recording succeeded.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.