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.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/BlockTypes/FeaturedProduct.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.