BP_Messages_Thread::__construct( bool $thread_id = false, string $order = 'ASC', array $args = array() )


Description Description

See also See also

Top ↑

Parameters Parameters


(bool) (Optional) ID for the message thread.

Default value: false


(string) (Optional) Order to display the messages in.

Default value: 'ASC'


(array) (Optional) Array of arguments for thread querying.

Default value: array()

Top ↑

Source Source

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

	public function __construct( $thread_id = false, $order = 'ASC', $args = array() ) {
		if ( $thread_id ) {
			$this->populate( $thread_id, $order, $args );

Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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