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



rest_endpoints › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( 'rest_endpoints', $endpoints )
Parametry:
  • () endpoints The available endpoints, as registered and before normalization. An array of matching regex patterns, each mapped either to a single endpoint's arguments or to an array of them, alongside any route options under their own non-numeric keys.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the array of available REST API endpoints.





Źródło

$endpoints = apply_filters( 'rest_endpoints', $endpoints );