WC_Widget_Brand_Description::__construct()
Constructor
Метод класса: WC_Widget_Brand_Description{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Widget_Brand_Description = new WC_Widget_Brand_Description(); $WC_Widget_Brand_Description->__construct();
Код WC_Widget_Brand_Description::__construct() WC Widget Brand Description:: construct WC 9.4.2
public function __construct() { /* Widget variable settings. */ $this->woo_widget_name = __( 'WooCommerce Brand Description', 'woocommerce' ); $this->woo_widget_description = __( 'When viewing a brand archive, show the current brands description.', 'woocommerce' ); $this->woo_widget_idbase = 'wc_brands_brand_description'; $this->woo_widget_cssclass = 'widget_brand_description'; /* 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 ); }