What to add to the exclude list insgo_javascript_combine_excluded_inline_content

[ad_1]

I’m trying to resolve an issue where embeds from a particular service are breaking on a site hosted on SG. If I disable the js combination feature of SG Optimizer, the embeds render without issue.

I found the insgo_javascript_combine_excluded_inline_content filter in other posts, but the documentation just says that I should add the “first few symbols of inline content script” to the exclude list.

I’m unsure of what that means. This embed code begins with an HTML comment, followed by a <script> tag, followed by a line break, whitespace, and then some actual js.

Do I include the <script> tag in the value I add to the exclude list? Or the whitespace? I’ve tried a few permutations of this, and it hasn’t worked for me yet.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer