Automattic\WooCommerce\Internal\ProductFeed\Mapping
UcpProductMapper::begin_response
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() UcpProductMapper::begin response code WC 11.3.0
public function begin_response(): void {
$this->truncations = array();
$this->variant_budget = self::MAX_VARIANTS_PER_RESPONSE;
}