Automattic\WooCommerce\Admin\Features\Blueprint\Steps

SetWCTaxRates::prepare_json_array()publicWC 1.0

Prepare the JSON array for the step.

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

Хуков нет.

Возвращает

Массив. The JSON array.

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

$SetWCTaxRates = new SetWCTaxRates();
$SetWCTaxRates->prepare_json_array(): array;

Код SetWCTaxRates::prepare_json_array() WC 9.7.1

public function prepare_json_array(): array {
	return array(
		'step'   => static::get_step_name(),
		'values' => array(
			'rates'     => $this->rates,
			'locations' => $this->locations,
		),
	);
}