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


Top ↑

Return Return

(array) Endpoint arguments.


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.