When I wrote that post, the only way to add a custom field to a response was using register_rest_field and adding your own read, write and ...
確定! 回上一頁