Automattic\WooCommerce\StoreApi\Schemas\V1\Ucp
UcpProductSchema::prepare_html_response
Return content unformatted; the UCP mapper derives plain text itself.
Method of the class: UcpProductSchema{}
No Hooks.
Returns
string|array.
Usage
// protected - for code of main (parent) or child class $result = $this->prepare_html_response( $response );
- $response(string|array) (required)
- Data to format.
UcpProductSchema::prepare_html_response() UcpProductSchema::prepare html response code WC 11.3.0
protected function prepare_html_response( $response ) {
return $response;
}