LLMS_Helper_Install::check_version()
Checks the current LLMS version and runs installer if required
Return Return
(void)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-install.php
public static function check_version() {
if ( ! defined( 'IFRAME_REQUEST' ) && get_option( 'llms_helper_version' ) !== llms_helper()->version ) {
self::install();
/**
* Action run after the helper library is updated.
*
* @since 3.0.0
*/
do_action( 'llms_helper_updated' );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.4.0 | Use llms_helper() in favor of deprecated LLMS_Helper(). |
| 3.0.0 | Introduced. |