How To Show or Hide Custom Fields Behind Leaky Paywall

Leaky Paywall has a handy function called leaky_paywall_user_has_access() that will check and see if the current user has an active subscription to any of your Leaky Paywall levels. 

Using that function, you can then show/hide content in your template files based on that condition. This is great for custom fields, ACF custom fields, CMB2 fields, or any other content you need to display in your theme's template files.

Still need help? Contact Us Contact Us