Automattic\WooCommerce\Blueprint\Steps
ActivateTheme::prepare_json_array
Prepares an associative array for JSON encoding.
Method of the class: ActivateTheme{}
No Hooks.
Returns
Array. Array of data to be encoded as JSON.
Usage
$ActivateTheme = new ActivateTheme(); $ActivateTheme->prepare_json_array(): array;
ActivateTheme::prepare_json_array() ActivateTheme::prepare json array code WC 10.5.0
public function prepare_json_array(): array {
return array(
'step' => static::get_step_name(),
'themeFolderName' => $this->theme_folder_name,
);
}