wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_json_encode_options › WordPress Filter Hooks

Da6.1.0
Deprecaton/a
› apply_filters( 'rest_json_encode_options', $options, $request )
Parametri: (2)
  • () options JSON encoding options {@see \json_encode()}.
    Richiesto: Sì
  • () request Current request object.
    Richiesto: Sì
Definito a:
Codex:

Filters the JSON encoding options used to send the REST API response.





Sorgenti

return apply_filters( 'rest_json_encode_options', $options, $request );