<script type="text/javascript">jQuery( document ).ready( function( $ ) {
var extra_css = $( "#views-extra-css" ) ? $( "#views-extra-css" ).text() : null; if( extra_css ) { $( 'head' ).append( '<style>' + extra_css + '</style>' );
$( "#views-extra-css" ).remove(); }
if( $( "#views-extra-css-ie7" ).length > 0 ) { $( 'head' ).append( $( "#views-extra-css-ie7" ).html() );
$( "#views-extra-css-ie7" ).remove(); }});</script> <!--[if lte IE 8]> <script type="text/javascript">document.body.className = document.body.className.replace( /(^|\s)(no-)?customize-support(?=\s|$)/, '' ) + ' no-customize-support';</script> <![endif]--> <!--[if gte IE 9]><!--> <script type="text/javascript">(function() {
var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
request = true;
b[c] = b[c].replace( rcs, ' ' );
// The customizer requires postMessage and CORS (if the site is cross domain)
b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
}());</script>
How can I remove the output of this code from all pages of the site
Hello,
There isn't such kind of built-in feature, you might consider custom codes, for example, add below PHP codes into your theme file "functions.php":
add_action( 'wp_loaded', function(){
global $WP_Views;
remove_action( 'wp_footer', array( $WP_Views, 'wpv_meta_html_extra_css_move_to_header' ), 21 );
});
More help:
https://developer.wordpress.org/reference/functions/remove_action/
My issue is resolved now. Thank you!