Then, you can use the register_rest_field function (documentation) to add meta fields to the API. There's an example for what you need to do ...
確定! 回上一頁