LLMS_Helper_Install::update_version( string $version = null )

Update the LifterLMS version record to the latest version


Parameters Parameters

$version

(string) (Optional) version number.

Default value: null


Top ↑

Return Return

(void)


Top ↑

Source Source

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

	public static function update_version( $version = null ) {
		delete_option( 'llms_helper_version' );
		add_option( 'llms_helper_version', is_null( $version ) ? llms_helper()->version : $version );
	}


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.