WC_Widget_Brand_Nav::__construct()
Constructor
Метод класса: WC_Widget_Brand_Nav{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Widget_Brand_Nav = new WC_Widget_Brand_Nav(); $WC_Widget_Brand_Nav->__construct();
Код WC_Widget_Brand_Nav::__construct() WC Widget Brand Nav:: construct WC 9.5.1
public function __construct() { /* Widget variable settings. */ $this->widget_cssclass = 'woocommerce widget_brand_nav widget_layered_nav'; $this->widget_description = __( 'Shows brands in a widget which lets you narrow down the list of products when viewing products.', 'woocommerce' ); $this->widget_id = 'woocommerce_brand_nav'; $this->widget_name = __( 'WooCommerce Brand Layered Nav', 'woocommerce' ); add_filter( 'woocommerce_product_subcategories_args', array( $this, 'filter_out_cats' ) ); /* Create the widget. */ parent::__construct(); }