(Patron PRO plugin) Question for hiding/showing custom fields

Hello,

I gave a look at the code recipe provided here
https://www.dropbox.com/scl/fi/69dejrx1ol95tx5kvww78/Patron-Pro-how-to-lock-any-part-of-your-Website.paper?dl=0&rlkey=knv5utdczkmlzm68lmjm7p46v

and I am going to hire a developer to customize this a bit

My question is, if I set
$GLOBALS['patreon_enable_direct_unlocks'] = true;

Then I cannot lock other parts of the website using the normal Patron PRO interface?
I always have to use the code recipe and wrap it around the elements I want to hide?

And if yes, would it work to run
$GLOBALS['patreon_enable_direct_unlocks'] = true;
Only for certain post types?

Because basically, I need to use the code recipe only a certain post type, for all other post types I can use the default Patron PRO interface to lock/unlock elements, which is easier to do

Thanks!

That global var should not be needed anymore. It shouldnt have any effect.

1 Like