WC_Widget_Product_Tag_Cloud::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Widget_Product_Tag_Cloud{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Widget_Product_Tag_Cloud = new WC_Widget_Product_Tag_Cloud();
$WC_Widget_Product_Tag_Cloud->__construct();

WC_Widget_Product_Tag_Cloud::__construct() code WC 9.4.2

public function __construct() {
	$this->widget_cssclass    = 'woocommerce widget_product_tag_cloud';
	$this->widget_description = __( 'A cloud of your most used product tags.', 'woocommerce' );
	$this->widget_id          = 'woocommerce_product_tag_cloud';
	$this->widget_name        = __( 'Product Tag Cloud', 'woocommerce' );
	$this->settings           = array(
		'title' => array(
			'type'  => 'text',
			'std'   => __( 'Product tags', 'woocommerce' ),
			'label' => __( 'Title', 'woocommerce' ),
		),
	);

	parent::__construct();
}