WP_Background_Process::update( string $key, array $data )
Update queue
Contents
Parameters Parameters
- $key
-
(string) (Required) Key.
- $data
-
(array) (Required) Data.
Return Return
($this)
Source Source
File: vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php
public function update( $key, $data ) { if ( ! empty( $data ) ) { update_site_option( $key, $data ); } return $this; }
Expand full source code Collapse full source code View on GitHub