I have a question actually I have a website in which one of my friends is using too many scripts in the header & footer using header & footer plugin in WordPress so I just want to stop the functionality of plugin from backend files but I want to show plugin works perfectly on the front but stop from the back end is there any way to do this please help... Thanks.
1 Answer
One option would be to remove the Header & Footer plugin from the site, and instead use Google Tag Manager. GTM plugins should only insert scripts on the front end and not in the admin, and GTM itself has a separate dashboard where users can add and remove scripts, so no deployment is needed, just like with the plugin you're currently using.