Automattic\WooCommerce\StoreApi\Schemas\V1

AbstractSchema::get_item_response()publicWC 1.0

Returns the full item response.

Method of the class: AbstractSchema{}

No Hooks.

Return

Array|stdClass.

Usage

$AbstractSchema = new AbstractSchema();
$AbstractSchema->get_item_response( $item );
$item(mixed) (required)
Item to get response for.

AbstractSchema::get_item_response() code WC 9.3.3

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