Automattic\WooCommerce\Blueprint\Steps
Step::get_json_array
Get the JSON array for the step.
Method of the class: Step{}
No Hooks.
Returns
Mixed
.
Usage
$Step = new Step(); $Step->get_json_array();
Step::get_json_array() Step::get json array code 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; }