WP_Background_Process::deletepublicWC 1.0

Delete queue

Method of the class: WP_Background_Process{}

No Hooks.

Returns

$this.

Usage

$WP_Background_Process = new WP_Background_Process();
$WP_Background_Process->delete( $key );
$key(string) (required)
Key.

WP_Background_Process::delete() code WC 10.5.0

public function delete( $key ) {
	delete_site_option( $key );

	return $this;
}