WC_API_Handler::generate_response()publicWC 2.1

Generate a response from an array of data

Method of the class: WC_API_Handler{}

No Hooks.

Return

String.

Usage

$WC_API_Handler = new WC_API_Handler();
$WC_API_Handler->generate_response( $data );
$data(array) (required)
-

Changelog

Since 2.1 Introduced.

WC_API_Handler::generate_response() code WC 8.9.0

public function generate_response( $data );