Automattic\WooCommerce\Blueprint\Steps
ActivateTheme::prepare_json_array
Prepares an associative array for JSON encoding.
Метод класса: ActivateTheme{}
Хуков нет.
Возвращает
Массив
. Array of data to be encoded as JSON.
Использование
$ActivateTheme = new ActivateTheme(); $ActivateTheme->prepare_json_array(): array;
Код ActivateTheme::prepare_json_array() ActivateTheme::prepare json array WC 10.0.2
public function prepare_json_array(): array { return array( 'step' => static::get_step_name(), 'themeFolderName' => $this->theme_folder_name, ); }