BP_Messages_Thread::__construct( bool $thread_id = false, string $order = 'ASC', array $args = array() )
Constructor.
Contents
Description Description
See also See also
- BP_Messages_Thread::populate(): for full description of parameters.
Parameters Parameters
- $thread_id
-
(bool) (Optional) ID for the message thread.
Default value: false
- $order
-
(string) (Optional) Order to display the messages in.
Default value: 'ASC'
- $args
-
(array) (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 ); } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |