WC_Twenty_Seventeen
in package
WC_Twenty_Seventeen class.
Table of Contents
- custom_colors_css() : string
- Custom colors.
- enqueue_styles() : array<string|int, mixed>
- Enqueue CSS for this theme.
- init() : mixed
- Theme init.
- output_content_wrapper() : mixed
- Open the Twenty Seventeen wrapper.
- output_content_wrapper_end() : mixed
- Close the Twenty Seventeen wrapper.
Methods
custom_colors_css()
Custom colors.
public
static custom_colors_css(string $css, string $hue, string $saturation) : string
Parameters
- $css : string
-
Styles.
- $hue : string
-
Color.
- $saturation : string
-
Saturation.
Return values
string —enqueue_styles()
Enqueue CSS for this theme.
public
static enqueue_styles(array<string|int, mixed> $styles) : array<string|int, mixed>
Parameters
- $styles : array<string|int, mixed>
-
Array of registered styles.
Return values
array<string|int, mixed> —init()
Theme init.
public
static init() : mixed
Return values
mixed —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