• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Customize WooCommerce Memberships thank you message

Learn in this tutorial how to customize the WooCommerce Memberships thank you text with a simple code snippet.

If you’re using the WooCommerce Memberships plugin to create a membership 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:

“Thanks for purchasing a membership! You can view more details about your membership from your account“.

But what happens if you want to customize this text?

No problem, you can get it with a little bit of code. Here’s how to do it:

Snippet to change WooCommerce Memberships thank you message

Add the following code at the end of functions.php or in your functionality plugin:

To see this and another 847 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 Memberships.

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. 🙂

PHP WooCommerce WooCommerce Memberships

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?