WP_Background_Process::delete()publicWC 1.0

Delete queue

Method of the class: WP_Background_Process{}

No Hooks.

Return

$this.

Usage

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

WP_Background_Process::delete() code WC 9.4.2

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

	return $this;
}