rest_request_after_callbacks

Filter Hook: Filters the response immediately after executing any REST API callbacks.

Source: wp-includes/rest-api/class-wp-rest-server.php:957

rest_request_before_callbacks

Filter Hook: Filters the response before executing any REST API callbacks.

Source: wp-includes/rest-api/class-wp-rest-server.php:898

WP_REST_Server::get_headers()

Method: Extracts headers from a PHP-style $_SERVER array.

Source: wp-includes/rest-api/class-wp-rest-server.php:1326

rest_endpoints_description

Filter Hook: Filters the REST endpoint data.

Source: wp-includes/rest-api/class-wp-rest-server.php:1118

rest_route_data

Filter Hook: Filters the publicly-visible data for routes.

Source: wp-includes/rest-api/class-wp-rest-server.php:1133

rest_index

Filter Hook: Filters the API root index data.

Source: wp-includes/rest-api/class-wp-rest-server.php:1045

rest_namespace_index

Filter Hook: Filters the namespace index data.

Source: wp-includes/rest-api/class-wp-rest-server.php:1088

WP_REST_Server::dispatch()

Method: Matches the request to a callback and call it.

Source: wp-includes/rest-api/class-wp-rest-server.php:807

rest_pre_dispatch

Filter Hook: Filters the pre-calculated result of a REST dispatch request.

Source: wp-includes/rest-api/class-wp-rest-server.php:821

rest_dispatch_request

Filter Hook: Filters the REST dispatch request result.

Source: wp-includes/rest-api/class-wp-rest-server.php:927

rest_envelope_response

Filter Hook: Filters the enveloped form of a response.

Source: wp-includes/rest-api/class-wp-rest-server.php:633

rest_endpoints

Filter Hook: Filters the array of available endpoints.

Source: wp-includes/rest-api/class-wp-rest-server.php:715

rest_send_nocache_headers

Filter Hook: Send nocache headers on authenticated requests.

Source: wp-includes/rest-api/class-wp-rest-server.php:252