LLMS_Helper_Install::check_version()

Checks the current LLMS version and runs installer if required


Return Return

(void)


Top ↑

Source Source

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

	public static function check_version() {

		if ( ! defined( 'IFRAME_REQUEST' ) && get_option( 'llms_helper_version' ) !== llms_helper()->version ) {

			self::install();

			/**
			 * Action run after the helper library is updated.
			 *
			 * @since 3.0.0
			 */
			do_action( 'llms_helper_updated' );

		}
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Use llms_helper() in favor of deprecated LLMS_Helper().
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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