LLMS_Add_On::get_latest_version()

Retrieve the latest available version for the current channel


Return Return

(string)


Top ↑

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' );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.22.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.