FeaturedCategory::get_styles( array $attributes, WP_Term $category )
Get the styles for the wrapper element (background image, color).
Description Description
Parameters Parameters
- $attributes
-
(Required) Block attributes. Default empty array.
- $category
-
(Required) Term object.
Return Return
(string)
Source Source
File: packages/woocommerce-blocks/src/BlockTypes/FeaturedCategory.php