Open ilgityildirim opened 6 years ago
I remember. Never heard back from you about this: https://github.com/mashshare/MashShare/issues/100
@ilgityildirim Please send the customer following code, applicable in his functions.php:
add_filter('mashsb_hide_addons', 'mashsb_custom_hide_add_ons');
function mashsb_custom_hide_add_ons($value){
return true;
}
This one will hide the ads
Thank you.
@rene-hermenau seems like this will not do the trick for Agencies. This would mean updating hundreds if not thousands of website's functions.php
Its just a workaround. Will add that function into MashShare add-on updates soon
We should check if any addon is active, has an active license, and filter mashsb_hide_addons
and return true; in case 1+ addons are found.
A better way would be to implement the same license checking functionality we used on Modula so we can hide the banners even if no addons are installed.
Ticket ID: 3163
Need to remove upgrade to PRO if the license is PRO or above!