Add custom field to 'user' endpoint. We will use register_rest_field function and hook it to rest_api_init hook. So add this to your functions.php
確定! 回上一頁