WC_Widget_Layered_Nav::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Widget_Layered_Nav{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Widget_Layered_Nav::__construct() code WC 9.4.2

public function __construct() {
	$this->widget_cssclass    = 'woocommerce widget_layered_nav woocommerce-widget-layered-nav';
	$this->widget_description = __( 'Display a list of attributes to filter products in your store.', 'woocommerce' );
	$this->widget_id          = 'woocommerce_layered_nav';
	$this->widget_name        = __( 'Filter Products by Attribute', 'woocommerce' );
	parent::__construct();
}