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 8.7.0

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