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

Glossary Term

rest_send_allow_header()

3 tags 1 category

rest_send_allow_header() — Sends the “Allow” header to state all methods that can be sent to the current route.

Inputs: $response (WP_REST_Response): Current response being served. $server (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: Response to be served, with “Allow” header if route has allowed methods.

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…