Viewing 1 replies (of 1 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi @mukaaartz,

    In this case the filter should be written like this:

    add_filter('wp_enqueue_scripts', function () {
      wp_scripts()->add_data('burst', 'phast_no_defer', true);
      wp_scripts()->add_data('burst-timeme', 'phast_no_defer', true);
    });

    In any case, I’ve just released PhastPress 2.8 which includes this filter so that Burst Statistics scripts are automatically not delayed by PhastPress.

    –Albert

Viewing 1 replies (of 1 total)
  • The topic ‘Remove script’ is closed to new replies.