WP_Background_Process::update( string $key, array $data )
Update queue
Description
Parameters
- $key
-
(Required) Key.
- $data
-
(Required) Data.
Return
($this)
Source
File: bp-core/libraries/wp-background-process.php
117 118 119 120 121 122 123 | public function update( $key , $data ) { if ( ! empty ( $data ) ) { update_site_option( $key , $data ); } return $this ; } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.