Automattic\WooCommerce\Admin\Features\Blueprint\Steps
SetWCTaxRates::prepare_json_array()
Prepare the JSON array for the step.
Метод класса: SetWCTaxRates{}
Хуков нет.
Возвращает
Массив
. The JSON array.
Использование
$SetWCTaxRates = new SetWCTaxRates(); $SetWCTaxRates->prepare_json_array(): array;
Код SetWCTaxRates::prepare_json_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, ), ); }