Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



rest_index ›

Seit4.4.0
Veraltetn/v
apply_filters( 'rest_index', $response )
Parameter:
  • (WP_REST_Response) $response Response data.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

return apply_filters( 'rest_index', $response );