Requires PHP: 7.4
*
* * * * * * * * * * * * * * * * * * * * * *
* *
* Reporting a Security Vulnerability *
* *
* Please disclose any security issues or *
* vulnerabilities to team@lifterlms.com *
* *
* See our full Security Policy at *
* https://lifterlms.com/security-policy *
* *
* * * * * * * * * * * * * * * * * * * * * *
*/
defined( 'ABSPATH' ) || exit;
if ( ! defined( 'LLMS_PLUGIN_FILE' ) ) {
define( 'LLMS_PLUGIN_FILE', __FILE__ );
}
if ( ! defined( 'LLMS_PLUGIN_DIR' ) ) {
define( 'LLMS_PLUGIN_DIR', __DIR__ . '/' );
}
// Autoloader.
require_once LLMS_PLUGIN_DIR . 'vendor/autoload.php';
require_once LLMS_PLUGIN_DIR . 'includes/class-llms-loader.php';
if ( ! class_exists( 'LifterLMS' ) ) {
require_once LLMS_PLUGIN_DIR . 'class-lifterlms.php';
}
register_activation_hook( __FILE__, array( 'LLMS_Install', 'install' ) );
/**
* Returns the main instance of LifterLMS
*
* @since 4.0.0
*
* @return LifterLMS
*/
function llms() {
return LifterLMS::instance();
}
return llms();
gallery/readme.txt