ActionScheduler_Versions::latest_version_callback()publicWC 1.0

Method of the class: ActionScheduler_Versions{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ActionScheduler_Versions::latest_version_callback() code WC 9.3.3

public function latest_version_callback() {
	$latest = $this->latest_version();
	if ( empty($latest) || !isset($this->versions[$latest]) ) {
		return '__return_null';
	}
	return $this->versions[$latest];
}