WP_Upgrader::release_lock( string $lock_name )
Releases an upgrader lock.
Description
See also
Parameters
- $lock_name
-
(string) (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 |
---|---|
4.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader/release_lock