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

Update queue


Description


Parameters

$key

(string) (Required) Key.

$data

(array) (Required) Data.


Return

($this)


Source

File: inc/lib/batch-processing/class-astra-wp-background-process.php

		public function update( $key, $data ) {
			if ( ! empty( $data ) ) {
				update_site_option( $key, $data );
			}

			return $this;
		}


User Contributed Notes

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