WC_API_JSON_Handler::parse_body( string $body )
Parse the raw request body entity
Description Description
Parameters Parameters
- $body
-
(Required) the raw request body
Return Return
(array|mixed)
Source Source
File: includes/legacy/api/v2/class-wc-api-json-handler.php
public function parse_body( $body ) { return json_decode( $body, true ); }
Changelog Changelog
Version | Description |
---|---|
2.1 | Introduced. |