Another, simpler, way is to use WP_REST_Response - this one is usually used for successful requests and it does not contain message in response:.
確定! 回上一頁