WC_Widget_Brand_Thumbnails::__construct
Constructor
Метод класса: WC_Widget_Brand_Thumbnails{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Widget_Brand_Thumbnails = new WC_Widget_Brand_Thumbnails(); $WC_Widget_Brand_Thumbnails->__construct();
Код WC_Widget_Brand_Thumbnails::__construct() WC Widget Brand Thumbnails:: construct WC 10.4.3
public function __construct() {
/* Widget variable settings. */
$this->woo_widget_name = __( 'WooCommerce Brand Thumbnails', 'woocommerce' );
$this->woo_widget_description = __( 'Show a grid of brand thumbnails.', 'woocommerce' );
$this->woo_widget_idbase = 'wc_brands_brand_thumbnails';
$this->woo_widget_cssclass = 'widget_brand_thumbnails';
/* Widget settings. */
$widget_ops = array(
'classname' => $this->woo_widget_cssclass,
'description' => $this->woo_widget_description,
);
/* Create the widget. */
parent::__construct( $this->woo_widget_idbase, $this->woo_widget_name, $widget_ops );
}