AbstractSchema::get_item_responses_from_schema( AutomatticWooCommerceBlocksStoreApiSchemasAbstractSchema $schema, array $items )
Apply a schema get_item_response callback to an array of items and return the result.
Description Description
Parameters Parameters
- $schema
-
(Required) Schema class instance.
- $items
-
(Required) Array of items.
Return Return
(array) Array of values from the callback function.
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/AbstractSchema.php