WordPress at Your Fingertips
function is not described

WC_Widget_Layered_Nav::__construct() public WC 1.0

Constructor.

{} It's a method of the class: WC_Widget_Layered_Nav{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Widget_Layered_Nav::__construct() WC 5.8.0

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();
}