Summery Summery
Sets body content.
Syntax Syntax
Parameters Parameters
- $data
-
(Required) Binary data from the request body.
Source Source
File: wp-includes/rest-api/class-wp-rest-request.php
*
* @return string Binary data from the request body.
*/
public function get_body() {
return $this->body;
}
/**
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |