ExtendRestApi::get_endpoint_schema( string $endpoint, array $passed_args = array() )
Returns the registered endpoint schema
Description Description
Parameters Parameters
- $endpoint
-
(Required) A valid identifier.
- $passed_args
-
(Optional) Passed arguments from the Schema class.
Default value: array()
Return Return
(array) Returns an array with registered schema data.
Source Source
File: packages/woocommerce-blocks/src/Domain/Services/ExtendRestApi.php