Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

rest_get_endpoint_args_for_schema()

3 tags 1 category

rest_get_endpoint_args_for_schema() — Retrieves an array of endpoint arguments from the item schema and endpoint method.

Inputs: $schema (array): The full JSON schema for the endpoint. $method (string): Optional. HTTP method of the endpoint. The arguments for CREATABLE endpoints are checked for required values and may fall-back to a given default, this is not done on EDITABLE endpoints. Default WP_REST_Server::CREATABLE.

Returns array: The endpoint arguments.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…