WP_Upgrader::release_lock( string $lock_name ): bool

Releases an upgrader lock.

Description

See also

Parameters

$lock_namestringrequired
The name of this unique lock.

Return

bool True if the lock was successfully released. False on failure.

Source

public static function release_lock( $lock_name ) {
	return delete_option( $lock_name . '.lock' );
}

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

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