Automattic\WooCommerce\Blueprint\Steps

Step::get_json_arraypublicWC 1.0

Get the JSON array for the step.

Метод класса: Step{}

Хуков нет.

Возвращает

Разное.

Использование

$Step = new Step();
$Step->get_json_array();

Код Step::get_json_array() WC 9.9.5

public function get_json_array() {
	$json_array = $this->prepare_json_array();
	if ( ! empty( $this->meta_values ) ) {
		$json_array['meta'] = $this->meta_values;
	}
	return $json_array;
}