LifterLMS_Helper::instance()
Retrieve the main Instance of LifterLMS_Helper
Return Return
Source Source
File: libraries/lifterlms-helper/class-lifterlms-helper.php
public static function instance() {
if ( is_null( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.2.0 | Use self::$instance in favor of self::$_instance. |
| 3.0.0 | Introduced. |