Uses
Uses | Description |
---|---|
wp-includes/option.php: delete_option() | Removes option by name. Prevents removal of protected WordPress options. |
Releases an upgrader lock.
(string) (Required) The name of this unique lock.
(bool) True if the lock was successfully released. False on failure.
File: wp-admin/includes/class-wp-upgrader.php
public static function release_lock( $lock_name ) { return delete_option( $lock_name . '.lock' ); }
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader/release_lock