WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_namespace_index

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/class-wp-rest-server.php apply_filters 1411 /**
* Filters the REST API namespace index data.
*
* This typically is just the route data for the namespace, but you can
* add any data you'd like here.
*
* @since 4.4.0
*
* @param WP_REST_Response $response Response data.
* @param WP_REST_Request $request Request data. The namespace is passed as the 'namespace' parameter.
*/

Hook Parameters

Parameter Type Name Description
WP_REST_Response $response Response data.
WP_REST_Request $request Request data. The namespace is passed as the 'namespace' parameter.