Automattic\WooCommerce\Admin\Features\ProductBlockEditor

ProductTemplate::to_json │ public │ WC 1.0

Get the product template as JSON-like data.

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

Хуков нет.

Возвращает

array.

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

$ProductTemplate = new ProductTemplate();
$ProductTemplate->to_json();

Код ProductTemplate::to_json() WC 11.3.0

public function to_json() {
	self::maybe_log_removal_warning();

	return array();
}