Sets the response data.
Parameters
$data
mixedrequired- Response data.
Source
public function set_data( $data ) {
$this->data = $data;
}
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
CARVIEW |
Sets the response data.
$data
mixedrequiredpublic function set_data( $data ) {
$this->data = $data;
}
Used by | Description |
---|---|
WP_HTTP_Response::__construct()wp-includes/class-wp-http-response.php | Constructor. |
Version | Description |
---|---|
4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.