WC_Widget_Layered_Nav_Filters::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Widget_Layered_Nav_Filters{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Widget_Layered_Nav_Filters::__construct() code WC 9.4.2

public function __construct() {
	$this->widget_cssclass    = 'woocommerce widget_layered_nav_filters';
	$this->widget_description = __( 'Display a list of active product filters.', 'woocommerce' );
	$this->widget_id          = 'woocommerce_layered_nav_filters';
	$this->widget_name        = __( 'Active Product Filters', 'woocommerce' );
	$this->settings           = array(
		'title' => array(
			'type'  => 'text',
			'std'   => __( 'Active filters', 'woocommerce' ),
			'label' => __( 'Title', 'woocommerce' ),
		),
	);

	parent::__construct();
}