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_Data::get_constants_data()

Retrieve data about LifterLMS constants


Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.data.php

	private static function get_constants_data() {

		$data = array(
			'LLMS_REMOVE_ALL_DATA'                 => 'undefined',
			'LLMS_REST_DISABLE'                    => 'undefined',
			'LLMS_SITE_FEATURE_RECURRING_PAYMENTS' => 'undefined',
			'LLMS_SITE_IS_CLONE'                   => 'undefined',
		);

		foreach ( $data as $constant => &$value ) {

			if ( defined( $constant ) ) {
				$value = constant( $constant ) ? 'true' : 'false';
			}
		}

		return $data;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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