WP_Upgrader::release_lock( string $lock_name )
Releases an upgrader lock.
Description
See also
Parameters
- $lock_name
-
(Required) The name of this unique lock.
Return
(bool) True if the lock was successfully released. False on failure.
Source
File: wp-admin/includes/class-wp-upgrader.php
public static function release_lock( $lock_name ) {
return delete_option( $lock_name . '.lock' );
}
Changelog
Version | Description |
---|---|
WP-4.5.0 | Introduced. |