I'm using the gform_after_submission hook to submit data to a 3rd party plugin. I'd like to change the confirmation message if an error occurs when saving the data.
I'm not sure however how to tie this in with the gform_confirmation hook since they are two separate functions.
Thanks