This contains the data describing the API. This includes information about supported authentication schemes, supported namespaces, routes available on the API, and a small amount of data about the site.
1410* @since 4.4.01411* @since 6.0.0 Added `$request` parameter.1412*1413* @param WP_REST_Response$response Response data.1414* @param WP_REST_Request$request Request data.1415*/1416returnapply_filters('rest_index',$response,$request);1417}14181419/**1420* Adds a link to the active theme for users who have proper permissions.1421*1422* @since 5.7.0
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.