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



rest_pre_echo_response › Filtr WordPress Hooks

Od4.8.1
Przestarzałyn/a
› apply_filters( 'rest_pre_echo_response', $result, $this, $request )
Parametry: (3)
  • () result Response data to send to the client.
    Wymagane: Tak
  • () server Server instance.
    Wymagane: Tak
  • () request Request used to generate the response.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the REST API response.

Allows modification of the response data after inserting embedded data (if any) and before echoing the response data.




Źródło

$result = apply_filters( 'rest_pre_echo_response', $result, $this, $request );