WP_Async_Request::data
Set data used during the request
Method of the class: WP_Async_Request{}
No Hooks.
Returns
$this.
Usage
$WP_Async_Request = new WP_Async_Request(); $WP_Async_Request->data( $data );
- $data(array) (required)
- Data.
WP_Async_Request::data() WP Async Request::data code WC 10.5.0
public function data( $data ) {
$this->data = $data;
return $this;
}