WordPress at Your Fingertips
function is not described

WP_Background_Process::save() public WC 1.0

Save queue

{} It's a method of the class: WP_Background_Process{}

No Hooks.

Return

$this.

Usage

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

Code of WP_Background_Process::save() WC 5.8.0

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

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

	return $this;
}