WC_Twenty_Nineteen::enqueue_styles()public staticWC 1.0

Enqueue CSS for this theme.

Method of the class: WC_Twenty_Nineteen{}

Hooks from the method

Return

Array.

Usage

$result = WC_Twenty_Nineteen::enqueue_styles( $styles );
$styles(array) (required)
Array of registered styles.

WC_Twenty_Nineteen::enqueue_styles() code WC 9.4.2

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-nineteen.css',
		'deps'    => '',
		'version' => Constants::get_constant( 'WC_VERSION' ),
		'media'   => 'all',
		'has_rtl' => true,
	);

	return apply_filters( 'woocommerce_twenty_nineteen_styles', $styles );
}