BP_Messages_Notice::__construct( int|null $id = null )
Constructor.
Description Description
Parameters Parameters
- $id
-
(Optional) The ID of the current notice.
Default value: null
Source Source
File: bp-messages/classes/class-bp-messages-notice.php
public function __construct( $id = null ) { if ( $id ) { $this->id = (int) $id; $this->populate(); } }
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |