ProductSchema::get_attributes( WC_Product $product )
Get list of product attributes and attribute terms.
Description Description
Parameters Parameters
- $product
-
(Required) Product instance.
Return Return
(array)
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/ProductSchema.php