We will use register_rest_field function and hook it to rest_api_init hook. So add this to your functions.php. add_action( 'rest_api_init' ...
確定! 回上一頁