Automattic\WooCommerce\Internal\Admin\ProductForm

Component::get_json()publicWC 1.0

Get the component as JSON.

Method of the class: Component{}

No Hooks.

Return

Array.

Usage

$Component = new Component();
$Component->get_json();

Component::get_json() code WC 9.0.1

public function get_json() {
	return array_merge(
		array(
			'id'        => $this->get_id(),
			'plugin_id' => $this->get_plugin_id(),
		),
		$this->get_additional_args()
	);
}