This code recipe shows you how to use the gettext filter in WordPress to change some of the frontend text generated in the Addon Packages plugin. It updates the message shown for the pages/posts/content that you sell à la Carte.
The Code Recipe
Copy and paste this code recipe into a helper PMPro Customizations plugin. Update each line of code that says “Your custom text..” with your preferred messages.
Free Course: Membership Site Development—The Basics
Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.