ProductAttributeSchema::get_item_response( object $attribute )
Convert an attribute object into an object suitable for the response.
Description Description
Parameters Parameters
- $attribute
-
(Required) Attribute object.
Return Return
(array)
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/ProductAttributeSchema.php