Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_index ›

Desde4.4.0
Obsoleton/a
apply_filters( 'rest_index', $response )
Parâmetros:
  • (WP_REST_Response) $response Response data.
    Required: Yes
Definido em:
Codex:

Filters the API root index data.

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.





Fonte

return apply_filters( 'rest_index', $response );