FeaturedProduct::render( array $attributes, string $content )
Render the Featured Product block.
Description Description
Parameters Parameters
- $attributes
-
(Required) Block attributes.
- $content
-
(Required) Block content.
Return Return
(string) Rendered block type output.
Source Source
File: packages/woocommerce-blocks/src/BlockTypes/FeaturedProduct.php