WP_HTTP_Response::set_data

Advertisement

Summery Summery

Sets the response data.

Syntax Syntax

WP_HTTP_Response::set_data( mixed $data )

Parameters Parameters

$data

(Required) Response data.

Source Source

File: wp-includes/class-wp-http-response.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply