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