I couldn't really find the best solution for my problem - maybe I'm missing the forest through the trees. I developed a plugin that displays a html sign-up form for a newsletter. The collected info is encoded and sent to a custom CRM via API via
wp_remote_post. All is hooked to the
To make it user friendly I'd like to redirect to a custom page after submission is done, calling the visitor by his name and thanking them for signing up.
I want this 'thank you' page following the theme anyone having the plugin is currently using and also send a customized welcome message. What would be best practice? Thank you in advance!