How to block Max products from being available to install on Pro sites

Hi! How can I control access to Max products on some of my Pro sites? I build sites for some of my clients with my Pro Unlimited license, and when I have purchased Max products (like the new Cornerstone Forms) for my OWN use, it automatically allows them to be installed on a client site. How can I block that? I only want them to have use of the main theme and not any Max addons I’ve purchased.

Checkout our guide here. You can disable it on a site via the following filter in a child theme. Have a great day.

add_filter('cs_max_enabled', '__return_false');

Hi @charlie! Thank you for the quick reply, but all that does is remove the “Enable Max” checkbox from the preferences apparently. It still allows the Max addons to display on the “Validation” page and allows them to be installed. I reloaded the validation page after updating the functions in my child theme, but the Max options were still there.

OK … a quick note … even after logging out and logging back in the options were still there, but then I clicked to refresh validation and it made the Max box disappear. I guess I’ll have to play with it a bit to ensure it’s actually gone for clients.

Is there any other way to do this rather than going into EVERY client site and editing the functions.php file? Perhaps have this be an option when we license the site from our account?

Thank you!