LLMS_Helper_Install::install()
Core install function
Return Return
(void)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-install.php
public static function install() {
if ( ! is_blog_installed() ) {
return;
}
do_action( 'llms_helper_before_install' );
if ( ( ! defined( 'LLMS_HELPER_LIB' ) || ! LLMS_HELPER_LIB ) && ! get_option( 'llms_helper_version', '' ) ) {
self::_migrate_300();
}
self::update_version();
do_action( 'llms_helper_after_install' );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.4.0 | Skip migration when loaded as a library. |
| 3.0.0 | Introduced. |