AbstractSchema::get_endpoint_args_for_item_schema( string $method = WP_REST_Server::CREATABLE )
Retrieves an array of endpoint arguments from the item schema for the controller.
Description Description
Parameters Parameters
- $method
-
(Optional) HTTP method of the request.
Default value: WP_REST_Server::CREATABLE
Return Return
(array) Endpoint arguments.
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/AbstractSchema.php