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

72
73
74
75
76
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.