WooCommerce Code Reference

WC_Twenty_Twenty_One
in package

WC_Twenty_Twenty_One class.

Table of Contents

enqueue_admin_styles()  : mixed
Enqueue the wp-admin CSS overrides for this theme.
enqueue_styles()  : array<string|int, mixed>
Enqueue CSS for this theme.
init()  : mixed
Theme init.
output_content_wrapper()  : mixed
Open the Twenty Twenty One wrapper.
output_content_wrapper_end()  : mixed
Close the Twenty Twenty One wrapper.

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>