WP_Async_Request::data( array $data )

Set data used during the request

Description

Parameters

$data

(Required) Data.

Return

($this)

Source

File: bp-core/libraries/wp-async-request.php

		public function data( $data ) {
			$this->data = $data;

			return $this;
		}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.