BP_Messages_Thread::get_recipients_for_thread( int $thread_id )

Static method to get message recipients by thread ID.

Description

Parameters

$thread_id

(Required) The thread ID.

Return

(array)

Source

File: bp-messages/classes/class-bp-messages-thread.php

	public static function get_recipients_for_thread( $thread_id = 0 ) {
		$thread = new self( false );
		return $thread->get_recipients( $thread_id );
	}

Changelog

Changelog
Version Description
BuddyPress 2.3.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.