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.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/ProductAttributeSchema.php


			

Top ↑

User Contributed Notes User Contributed Notes

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