WP_Upgrader::release_lock( string $lock_name )

Releases an upgrader lock.


Description Description

See also See also


Top ↑

Parameters Parameters

$lock_name

(string) (Required) The name of this unique lock.


Top ↑

Return Return

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


Top ↑

Source Source

File: wp-admin/includes/class-wp-upgrader.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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