WP_Background_Process::save
Save queue
Method of the class: WP_Background_Process{}
No Hooks.
Returns
$this.
Usage
$WP_Background_Process = new WP_Background_Process(); $WP_Background_Process->save();
WP_Background_Process::save() WP Background Process::save code WC 10.6.2
public function save() {
$key = $this->generate_key();
if ( ! empty( $this->data ) ) {
update_site_option( $key, $this->data );
}
return $this;
}