Automattic\WooCommerce\Internal\ProductFeed\Mapping

UcpProductMapper::begin_response │ public │ WC 1.0

Start a new response, clearing per-response state.

Method of the class: UcpProductMapper{}

No Hooks.

Returns

null. Nothing (null).

Usage

$UcpProductMapper = new UcpProductMapper();
$UcpProductMapper->begin_response(): void;

UcpProductMapper::begin_response() code WC 11.3.0

public function begin_response(): void {
	$this->truncations    = array();
	$this->variant_budget = self::MAX_VARIANTS_PER_RESPONSE;
}