WooCommerce Code Reference

Search results

WC_Twenty_Seventeen

WC_Twenty_Seventeen class.

Table of Contents

init() Theme init. mixed
enqueue_styles() Enqueue CSS for this theme. array
output_content_wrapper() Open the Twenty Seventeen wrapper. mixed
output_content_wrapper_end() Close the Twenty Seventeen wrapper. mixed
custom_colors_css() Custom colors. string

Methods

enqueue_styles()

Enqueue CSS for this theme.

public static enqueue_styles( $styles : array ) : array
Parameters
$styles : array

Array of registered styles.

Return values
array

output_content_wrapper()

Open the Twenty Seventeen wrapper.

public static output_content_wrapper( ) : mixed
Return values
mixed

output_content_wrapper_end()

Close the Twenty Seventeen wrapper.

public static output_content_wrapper_end( ) : mixed
Return values
mixed

custom_colors_css()

Custom colors.

public static custom_colors_css( $css : string , $hue : string , $saturation : string ) : string
Parameters
$css : string

Styles.

$hue : string

Color.

$saturation : string

Saturation.

Return values
string
Back to the top