Automattic\WooCommerce\StoreApi\Schemas\V1\Ucp
UcpProductSchema::prepare_html_response
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() UcpProductSchema::prepare html response WC 11.3.0
protected function prepare_html_response( $response ) {
return $response;
}