BP_REST_Messages_Endpoint::get_thread_object( int $thread_id )

Get thread object.


Parameters Parameters

$thread_id

(int) (Required) Thread ID.


Top ↑

Return Return

(BP_Messages_Thread)


Source Source

File: bp-messages/classes/class-bp-rest-messages-endpoint.php

	public function get_thread_object( $thread_id ) {
		return new BP_Messages_Thread( (int) $thread_id );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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