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



rest_route_for_term › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'rest_route_for_term', $route, $term )
Parametry: (2)
  • (string) $route The route path.
    Wymagane: Tak
  • (WP_Term) $term The term object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the REST API route for a term.





Źródło

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