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_Install::run_db_updates( string $db_version )

Run database updates

Description Description

If no updates are required for the current version, records the DB version as the current plugin version.

Top ↑

Parameters Parameters


(string) (Required) The DB version to upgrade from.

Top ↑

Return Return


Top ↑

Source Source

File: includes/class.llms.install.php

	private static function run_db_updates( $db_version ) {

		if ( ! is_null( $db_version ) ) {

			// Load the upgrader.
			$upgrader = new LLMS_DB_Upgrader( $db_version );
			if ( $upgrader->update() ) {



Top ↑

Changelog Changelog

Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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