LifterLMS_Helper::init()
Inititalize the Plugin
Return Return
(void)
Source Source
File: libraries/lifterlms-helper/class-lifterlms-helper.php
public function init() { // Only load if we have the minimum LifterLMS version installed & activated. if ( function_exists( 'llms' ) && version_compare( '3.22.0', llms()->version, '<=' ) ) { $this->includes(); $this->crons(); if ( is_admin() || ( defined( 'WP_CLI' ) && WP_CLI ) ) { $this->upgrader = LLMS_Helper_Upgrader::instance(); } } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.3.1 | Load the upgrader instance in WP_CLI context. |
3.2.0 | Use llms() in favor of deprecated LLMS() . |
3.0.0 | Unknown. |
1.0.0 | Introduced. |