WC_Twenty_Twenty_Three::enqueue_styles()
Enqueue CSS for this theme.
Method of the class: WC_Twenty_Twenty_Three{}
Hooks from the method
Return
Array
.
Usage
$result = WC_Twenty_Twenty_Three::enqueue_styles( $styles );
- $styles(array) (required)
- Array of registered styles.
WC_Twenty_Twenty_Three::enqueue_styles() WC Twenty Twenty Three::enqueue styles code WC 9.3.1
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-twenty-three.css', 'deps' => '', 'version' => Constants::get_constant( 'WC_VERSION' ), 'media' => 'all', 'has_rtl' => true, ); return apply_filters( 'woocommerce_twenty_twenty_three_styles', $styles ); }