WordPress at Your Fingertips
function is not described

ActionScheduler_Versions::latest_version() public WC 1.0

{} It's a method of the class: ActionScheduler_Versions{}

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_Versions = new ActionScheduler_Versions();
$ActionScheduler_Versions->latest_version();

Code of ActionScheduler_Versions::latest_version() WC 6.1.1

public function latest_version() {
	$keys = array_keys($this->versions);
	if ( empty($keys) ) {
		return false;
	}
	uasort( $keys, 'version_compare' );
	return end($keys);
}