WC_API_JSON_Handler::parse_body( string $body )

Parse the raw request body entity


Description Description


Parameters Parameters

$body

(Required) the raw request body


Top ↑

Return Return

(array|mixed)


Top ↑

Source Source

File: includes/legacy/api/v2/class-wc-api-json-handler.php

	public function parse_body( $body ) {

		return json_decode( $body, true );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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