Tribe__Process__Queue::get_id()
Returns the queue unique identifier.
Mind that an id will only be available after saving a queue.
Return
(string)
Source
File: src/Tribe/Process/Queue.php
public function get_id() {
if ( null === $this->id ) {
// not localized as this is a developer-land error
throw new RuntimeException( 'Can only get the id of queue after saving it.' );
}
return $this->id;
}
Changelog
| Version | Description |
|---|---|
| 4.7.12 | Introduced. |