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.


Top ↑

Return Return

(string)


Top ↑

Source Source

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


			


Top ↑

User Contributed Notes User Contributed Notes

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