• Resolved timholz

    (@timholz)


    Hi
    Thanks a lot for the update and the new features.
    I noticed one thing though, the ?movelast? filter does not opperate correctly anymore.
    I’m using it the filter as follows:

    //autoptimize movelast
    add_filter('autoptimize_filter_js_movelast','my_ao_override_movelast',10,1);
    function my_ao_override_movelast($movelast) {
    	$movelast[]="wpcf7_all_min.js";
    	return $movelast;
    	}
    
    add_filter('autoptimize_filter_js_movelast','my_ao_override_movelast2',10,1);
    function my_ao_override_movelast2($movelast) {
    	$movelast[]="bxSliderOK.min.js";
    	return $movelast;
    	}

    Is there something wrong with the code?
    The scripts do not appear as last scripts.
    They are loaded before the autoptimize.js.
    I also exclude the scripts in the autoptimize settings.

    Happy new year to all of you.
    theo

    https://www.ads-software.com/plugins/autoptimize/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘autoptimize filter movelast’ is closed to new replies.