Automattic\WooCommerce\Blueprint\Steps
Step::get_json_array
Get the JSON array for the step.
Метод класса: Step{}
Хуков нет.
Возвращает
Разное.
Использование
$Step = new Step(); $Step->get_json_array();
Код Step::get_json_array() Step::get json array WC 11.0.1
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;
}