Automattic\WooCommerce\StoreApi\Schemas\V1

AbstractSchema::get_item_response │ public │ WC 1.0

Returns the full item response.

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

Хуков нет.

Возвращает

array|stdClass.

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

$AbstractSchema = new AbstractSchema();
$AbstractSchema->get_item_response( $item );
$item(разное) (обязательный)
Item to get response for.

Код AbstractSchema::get_item_response() WC 11.2.2

public function get_item_response( $item ) {
	return [];
}