Tribe__Events__Aggregator__Record__Activity::set_last_status( string $status )
Sets the last status on the activity object.
Contents
Ideally set to one of the STATUS_ constants defined by the class but allowing arbitrary stati by design. It’s up to the client to set and consume this information.
Parameters
- $status
-
(string) (Required)
Source
File: src/Tribe/Aggregator/Record/Activity.php
public function set_last_status( $status ) {
$this->last_status = $status;
}
Changelog
| Version | Description |
|---|---|
| 4.6.15 | Introduced. |