WordPress at Your Fingertips
function is not described

WC_Widget_Rating_Filter::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Widget_Rating_Filter::__construct() WC 5.8.0

public function __construct() {
	$this->widget_cssclass    = 'woocommerce widget_rating_filter';
	$this->widget_description = __( 'Display a list of star ratings to filter products in your store.', 'woocommerce' );
	$this->widget_id          = 'woocommerce_rating_filter';
	$this->widget_name        = __( 'Filter Products by Rating', 'woocommerce' );
	$this->settings           = array(
		'title' => array(
			'type'  => 'text',
			'std'   => __( 'Average rating', 'woocommerce' ),
			'label' => __( 'Title', 'woocommerce' ),
		),
	);
	parent::__construct();
}