Automattic\WooCommerce\StoreApi\Schemas\V1\Ucp

UcpProductSchema::prepare_html_response │ protected │ WC 1.0

Return content unformatted; the UCP mapper derives plain text itself.

Метод класса: UcpProductSchema{}

Хуков нет.

Возвращает

string|array.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->prepare_html_response( $response );
$response(строка|массив) (обязательный)
Data to format.

Код UcpProductSchema::prepare_html_response() WC 11.3.0

protected function prepare_html_response( $response ) {
	return $response;
}