300, 'single_image_width' => 600, ) ); } /** * Open the Twenty Twenty wrapper. */ public static function output_content_wrapper() { echo '
'; echo '
'; } /** * Close the Twenty Twenty wrapper. */ public static function output_content_wrapper_end() { echo '
'; echo '
'; } /** * Enqueue CSS for this theme. * * @param array $styles Array of registered styles. * @return array */ 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.css', 'deps' => '', 'version' => WC_VERSION, 'media' => 'all', 'has_rtl' => true, ); return apply_filters( 'woocommerce_twenty_twenty_styles', $styles ); } } WC_Twenty_Twenty::init();