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



rest_index › WordPress Filter Hooks

Seit6.0.0
Veraltetn/v
apply_filters( 'rest_index', $response, $request )
Parameter: (2)
  • () response Response data.
    Erforderlich: Ja
  • () request Request data.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the REST 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, $request );