Learn in this tutorial how to customize the WooCommerce Subscriptions thank you text with a simple code snippet.
If you’re using the WooCommerce Subscriptions plugin to create a subscription you may have noticed that next to the order details once the purchase is complete it also displays a message.
It usually goes something like this:
“Your subscription will be activated when payment clears. View the status of your subscription in your account.“.
But, what happens if you want to customize this text?
No problem, you can do it with a little bit of code. Here’s how to do it:
Snippet to change the WooCommerce Subscriptions thank you message
Add the following code at the end of functions.php or in your functionality plugin:
To see this and another 1097 code snippets of this website, login or subscribe here.
It’s that simple.
Obviously, you can change the thank you text to whatever you want.
Conclusion
As you can see, with a few lines of code you can customize the thank you message that is displayed when a membership is created with WooCommerce Subscriptions.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂