WooCommerce Code Reference

WC_Twenty_Twenty
in package

WC_Twenty_Twenty class.

Table of Contents

enqueue_styles()  : array<string|int, mixed>
Enqueue CSS for this theme.
init()  : mixed
Theme init.
output_content_wrapper()  : mixed
Open the Twenty Twenty wrapper.
output_content_wrapper_end()  : mixed
Close the Twenty Twenty wrapper.
set_white_background()  : mixed
Set background color to white if it's default, otherwise don't touch it.

Methods

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>