Action_Scheduler\WP_CLI
System_Command::get_latest_version()
Get latest version.
Method of the class: System_Command{}
No Hooks.
Return
String
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_latest_version( $instance );
- $instance(null|\ActionScheduler_Versions)
- Versions.
Default: null
System_Command::get_latest_version() System Command::get latest version code WC 9.8.1
protected function get_latest_version( $instance = null ) { if ( is_null( $instance ) ) { $instance = \ActionScheduler_Versions::instance(); } return $instance->latest_version(); }