Is it possible to return plain text in a WordPress Rest API response? By default this seems to return JSON. Any advice on the recommended way to override this? Doing a json_decode() on my response object before it is returned from the callback function does not have any effect, so I assume the JSON gets created after this.
Thanks!