LLMS_Helper_Install::install()

Core install function


Return Return

(void)


Top ↑

Source Source

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

	public static function install() {

		if ( ! is_blog_installed() ) {
			return;
		}

		do_action( 'llms_helper_before_install' );

		if ( ( ! defined( 'LLMS_HELPER_LIB' ) || ! LLMS_HELPER_LIB ) && ! get_option( 'llms_helper_version', '' ) ) {
			self::_migrate_300();
		}

		self::update_version();

		do_action( 'llms_helper_after_install' );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Skip migration when loaded as a library.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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