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.

LLMS_Engagements::__construct()

Constructor


Description Description

Adds actions to events that trigger engagements.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.engagements.php

	private function __construct() {

		if ( defined( 'LLMS_ENGAGEMENT_DEBUG' ) && LLMS_ENGAGEMENT_DEBUG ) {
			_deprecated_function( 'Constant: LLMS_ENGAGEMENT_DEBUG', '6.0.0' );
			$this->debug = true;
		}

		$this->add_actions();
	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Added deprecation warning when using constant LLMS_ENGAGEMENT_DEBUG. Don't call deprecated init() method.
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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