LLMS_REST_Install::check_version()

Checks the current LLMS version and runs installer if required


Return Return

(void)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/class-llms-rest-install.php

	public static function check_version() {
		if ( ! defined( 'IFRAME_REQUEST' ) && get_option( 'llms_rest_version' ) !== LLMS_REST_API()->version ) {
			self::install();
			do_action( 'llms_rest_updated' );
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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