Using WordPress' register_rest_field() function, we can register a new field in the response to the 'page' endpoint using the snippet below.
確定! 回上一頁