LLMS_Add_On::get_latest_version()
Retrieve the latest available version for the current channel
Return Return
(string)
Source Source
File: includes/models/model.llms.add-on.php
public function get_latest_version() {
if ( 'beta' === $this->get_channel_subscription() && $this->get( 'version_beta' ) ) {
return $this->get( 'version_beta' );
}
return $this->get( 'version' );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.22.0 | Introduced. |