Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductTemplate::to_json
Get the product template as JSON-like data.
Method of the class: ProductTemplate{}
No Hooks.
Returns
Array.
Usage
$ProductTemplate = new ProductTemplate(); $ProductTemplate->to_json();
ProductTemplate::to_json() ProductTemplate::to json code WC 11.0.1
public function to_json() {
self::maybe_log_removal_warning();
return array();
}