WC_Brands::styles
Enqueues styles.
Метод класса: WC_Brands{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Brands = new WC_Brands(); $WC_Brands->styles();
Код WC_Brands::styles() WC Brands::styles WC 10.4.2
public function styles() {
if ( ! $this->should_load_brands_styles() ) {
return;
}
$version = Constants::get_constant( 'WC_VERSION' );
wp_enqueue_style( 'brands-styles', WC()->plugin_url() . '/assets/css/brands.css', array(), $version );
}