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

Glossary Term

rest_handle_options_request()

3 tags 1 category

rest_handle_options_request() — Handles OPTIONS requests for the server. This is handled outside of the server code, as it doesn’t obey normal route mapping.

Inputs: $response (mixed): Current response, either response or null to indicate pass-through. $handler (WP_REST_Server): ResponseHandler instance (usually WP_REST_Server). $request (WP_REST_Request): The request that was used to make current response.

Returns WP_REST_Response: Modified response, either response or null to indicate pass-through.

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…