Automattic\WooCommerce\Admin\Features\Blueprint\Steps
SetWCTaxRates::prepare_json_array()
Prepare the JSON array for the step.
Method of the class: SetWCTaxRates{}
No Hooks.
Return
Array
. The JSON array.
Usage
$SetWCTaxRates = new SetWCTaxRates(); $SetWCTaxRates->prepare_json_array(): array;
SetWCTaxRates::prepare_json_array() SetWCTaxRates::prepare json array code 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, ), ); }