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