Automattic\WooCommerce\Internal\ProductFeed\Mapping

UcpProductMapper::begin_response │ public │ WC 1.0

Start a new response, clearing per-response state.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код UcpProductMapper::begin_response() WC 11.3.0

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