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

Constructor.


Description Description

See also See also


Top ↑

Parameters Parameters

$thread_id

(Optional) ID for the message thread.

Default value: false

$order

(Optional) Order to display the messages in.

Default value: 'ASC'

$args

(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

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.