Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LifterLMS::define_constants()

Define LifterLMS Constants


Return Return

(void)


Top ↑

Source Source

File: class-lifterlms.php

	}

	/**
	 * Load Hooks
	 *
	 * @since Unknown
	 *
	 * @return void
	 */
	public function include_template_functions() {
		include_once 'includes/llms.template.functions.php';
	}

	/**
	 * Init LifterLMS when WordPress Initialises.
	 *
	 * @since 1.0.0
	 * @since 3.21.1 Unknown.
	 * @since 4.0.0 Don't initialize removed `LLMS_Person()` class.
	 * @since 4.12.0 Check site staging/duplicate status & trigger associated actions.
	 * @since 4.13.0 Remove site staging/duplicate check and run only on `admin_init`.
	 *


Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Moved definitions of LLMS_PLUGIN_FILE and LLMS_PLUGIN_DIR to the main lifterlms.php file. Use llms_maybe_define_constant() to reduce code complexity.
3.17.8 Added LLMS_PLUGIN_URL && LLMS_ASSETS_SUFFIX.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.