ActionScheduler_Versions::latest_version_callback() 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_callback();
Code of ActionScheduler_Versions::latest_version_callback() ActionScheduler Versions::latest version callback WC 5.0.0
public function latest_version_callback() {
$latest = $this->latest_version();
if ( empty($latest) || !isset($this->versions[$latest]) ) {
return '__return_null';
}
return $this->versions[$latest];
}