sgo_javascript_combine_excluded_inline_content
-
Needs documentation and a simple, easy way to use, such as the id attribute on the script tag. ‘first few symbols of inline content script’ is absurd. It does not seem to work. Support chat is no help. Very frustrating experience. Had to disable Combine JS.
function farmforce_exclude_from_sgo( $exclude_list ) {
$exclude_list[] = 'jQuery(document).on("cmplz_cookie_banner_data", nrichtag);';
return $excludes;
}
add_filter( 'sgo_javascript_combine_excluded_inline_content', 'farmforce_exclude_from_sgo' );'jQuery(document).on("cmplz_cookie_banner_data", nrichtag);'
is literally the first line of the inline script, and the filter does not work.
- The topic ‘sgo_javascript_combine_excluded_inline_content’ is closed to new replies.