wp_rest_response-is_error

method