Automattic\WooCommerce\Blueprint\Steps
SetSiteOptions::prepare_json_array
Prepare the step for JSON serialization.
Method of the class: SetSiteOptions{}
No Hooks.
Returns
Array
. array representation of the step
Usage
$SetSiteOptions = new SetSiteOptions(); $SetSiteOptions->prepare_json_array(): array;
SetSiteOptions::prepare_json_array() SetSiteOptions::prepare json array code WC 9.9.5
public function prepare_json_array(): array { return array( 'step' => static::get_step_name(), 'options' => (object) $this->options, ); }