Docs

WP_Async_Request::data( array $data ): $this

Set data used during the request

Parameters

$dataarrayrequired
Data.

Return

$this