LLMS_Helper_Install::update_version( string $version = null )
Update the LifterLMS version record to the latest version
Parameters Parameters
- $version
-
(string) (Optional) version number.
Default value: null
Return Return
(void)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-install.php
public static function update_version( $version = null ) { delete_option( 'llms_helper_version' ); add_option( 'llms_helper_version', is_null( $version ) ? llms_helper()->version : $version ); }
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. |