Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductTemplate::to_json
Get the product template as JSON-like data.
Метод класса: ProductTemplate{}
Хуков нет.
Возвращает
array.
Использование
$ProductTemplate = new ProductTemplate(); $ProductTemplate->to_json();
Код ProductTemplate::to_json() ProductTemplate::to json WC 11.3.0
public function to_json() {
self::maybe_log_removal_warning();
return array();
}