Get a list of recipients for a message.

Return Return

(object) $value List of recipients for a message.

Source Source

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

	public function get_recipients() {
		global $wpdb;

		$bp = buddypress();

		return $wpdb->get_results( $wpdb->prepare( "SELECT user_id FROM {$bp->messages->table_name_recipients} WHERE thread_id = %d", $this->thread_id ) );

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.