BP_Messages_Thread::__construct( bool $thread_id = false, string $order = 'ASC', array $args = array() )
Constructor.
Description Description
See also See also
- BP_Messages_Thread::populate(): for full description of parameters.
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()
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 ); } }
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |