WP_REST_Request::get_body(): string

In this article

Retrieves the request body content.

Return

string Binary data from the request body.

Source

public function get_body() {
	return $this->body;
}

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.