WordPress at Your Fingertips
function is not described

WC_API_Handler::generate_response() public WC 2.1

Generate a response from an array of data

{} It's a 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.

Code of WC_API_Handler::generate_response() WC 5.7.1

public function generate_response( $data );