WC_Twenty_Seventeen::enqueue_styles( array $styles )
Enqueue CSS for this theme.
Description Description
Parameters Parameters
- $styles
-
(Required) Array of registered styles.
Return Return
(array)
Source Source
File: includes/theme-support/class-wc-twenty-seventeen.php
public static function enqueue_styles( $styles ) {
unset( $styles['woocommerce-general'] );
$styles['woocommerce-general'] = array(
'src' => str_replace( array( 'http:', 'https:' ), '', WC()->plugin_url() ) . '/assets/css/twenty-seventeen.css',
'deps' => '',
'version' => Constants::get_constant( 'WC_VERSION' ),
'media' => 'all',
'has_rtl' => true,
);
return apply_filters( 'woocommerce_twenty_seventeen_styles', $styles );
}