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.


Top ↑

Return Return

(array) Array of values from the callback function.


Top ↑

Source Source

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



Top ↑

User Contributed Notes User Contributed Notes

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