LLMS_REST_Install::check_version()
Checks the current LLMS version and runs installer if required
Return Return
(void)
Source Source
File: libraries/lifterlms-rest/includes/class-llms-rest-install.php
public static function check_version() {
if ( ! defined( 'IFRAME_REQUEST' ) && get_option( 'llms_rest_version' ) !== LLMS_REST_API()->version ) {
self::install();
do_action( 'llms_rest_updated' );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.1 | Introduced. |