wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_index › Filtr WordPress Hooks

Od6.0.0
Przestarzałyn/a
› apply_filters( 'rest_index', $response, $request )
Parametry: (2)
  • () response Response data.
    Wymagane: Tak
  • () request Request data.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

return apply_filters( 'rest_index', $response, $request );