WP_Background_Process::update( string $key, array $data )

Update queue


Parameters Parameters

$key

(string) (Required) Key.

$data

(array) (Required) Data.


Top ↑

Return Return

($this)


Top ↑

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;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.