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



rest_namespace_index › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( 'rest_namespace_index', $response, $request )
Parameter: (2)
  • () response Response data.
    Erforderlich: Ja
  • () request Request data. The namespace is passed as the 'namespace' parameter.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the REST API namespace index data.

This typically is just the route data for the namespace, but you can add any data you'd like here.




Quellcode

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