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



rest_route_for_term › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'rest_route_for_term', $route, $term )
Parameter: (2)
  • () route The route path.
    Erforderlich: Ja
  • () term The term object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the REST API route for a term.





Quellcode

return apply_filters( 'rest_route_for_term', $route, $term );