WP_Background_Process::save()publicWC 1.0

Save queue

Method of the class: WP_Background_Process{}

No Hooks.

Return

$this.

Usage

$WP_Background_Process = new WP_Background_Process();
$WP_Background_Process->save();

WP_Background_Process::save() code WC 9.4.2

public function save() {
	$key = $this->generate_key();

	if ( ! empty( $this->data ) ) {
		update_site_option( $key, $this->data );
	}

	return $this;
}