WordPress at Your Fingertips
function is not described

WP_Upgrader::release_lock() public WP 4.5.0

Releases an upgrader lock.

{} It's a method of the class: WP_Upgrader{}

No Hooks.

Return

true|false. True if the lock was successfully released. False on failure.

Usage

$result = WP_Upgrader::release_lock( $lock_name );
$lock_name(string) (required)
The name of this unique lock.

Notes

Changelog

Since 4.5.0 Introduced.

Code of WP_Upgrader::release_lock() WP 5.8.2

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