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: woocommerce/packages/woocommerce-blocks/src/RestApi/StoreApi/Schemas/ProductAttributeSchema.php