LLMS_DB_Upgrader::get_required_updates()
Retrieve a filtered list of updates as required by the specified DB version
Description Description
All updates greater than the specified version will be returned.
Return Return
(array[])
Source Source
File: includes/class-llms-db-ugrader.php
public function get_required_updates() {
$db_version = $this->db_version;
return array_filter(
$this->get_updates(),
function( $update_version ) use ( $db_version ) {
return version_compare( $db_version, $update_version, '<' );
},
ARRAY_FILTER_USE_KEY
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |