Remove slb_context script from footer
-
I need to disable the script with id ‘slb_context’ being added in the footer (so my pages will work with Google AMP).
How can I remove the script, I’ve tried remove_action, wp_dequeue, wp_deregister and it still keeps showing up in the footer.
This is the script being added:
<script type="text/javascript" id="slb_context">/* <![CDATA[ */if ( !!window.jQuery ) {(function($){$(document).ready(function(){if ( !!window.SLB ) { {$.extend(SLB, {"context":["public","user_guest"]});} }})})(jQuery);}/* ]]> */</script>
Using debug bar I can see that it is not a script being enqueued – where is it being added though?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove slb_context script from footer’ is closed to new replies.