WP_HTTP_Response::set_data

Advertisement

Summery Summery

Sets the response data.

Syntax Syntax

WP_HTTP_Response::set_data( mixed $data )

Parameters Parameters

$data

(mixed) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?