WC_Widget_Rating_Filter::__construct()publicWC 1.0

Constructor.

Метод класса: WC_Widget_Rating_Filter{}

Хуков нет.

Возвращает

null. Ничего.

Использование

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

Код WC_Widget_Rating_Filter::__construct() WC 7.1.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();
}