Automattic\WooCommerce\Internal\Admin\ProductForm

Component::__construct()publicWC 1.0

Constructor

Method of the class: Component{}

No Hooks.

Return

null. Nothing (null).

Usage

$Component = new Component();
$Component->__construct( $id, $plugin_id, $additional_args );
$id(string) (required)
Component id.
$plugin_id(string) (required)
Plugin id.
$additional_args(array) (required)
Array containing additional arguments.

Component::__construct() code WC 8.9.0

public function __construct( $id, $plugin_id, $additional_args ) {
	$this->id              = $id;
	$this->plugin_id       = $plugin_id;
	$this->additional_args = $additional_args;
}