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



rest_url › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( 'rest_url', $url, $path, $blog_id, $scheme )
Parametry: (4)
  • () url REST URL.
    Wymagane: Tak
  • () path REST route.
    Wymagane: Tak
  • () blog_id Blog ID.
    Wymagane: Tak
  • () scheme Sanitization scheme.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the REST URL.

Use this filter to adjust the url returned by the get_rest_url() function.




Źródło

return apply_filters( 'rest_url', $url, $path, $blog_id, $scheme );