bp_groups_get_invite_messsage_for_user( int $user_id, int $group_id )

Get user’s invite message.

Description

Parameters

$user_id

(Required) The user ID.

$group_id

(Required) The group ID.

Return

(string) invitation message.

Source

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

function bp_groups_get_invite_messsage_for_user( $user_id, $group_id ) {
	return get_user_meta( $user_id, 'bp_group_invite_message_' . $group_id, true );
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.