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.
1415* @since 4.4.01416* @since 6.0.0 Added `$request` parameter.1417*1418* @param WP_REST_Response$response Response data.1419* @param WP_REST_Request$request Request data.1420*/1421returnapply_filters('rest_index',$response,$request);1422}14231424/**1425* Adds a link to the active theme for users who have proper permissions.1426*1427* @since 5.7.0
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.