ah, sure, there are lots of filters 😉
something like this should work:
add_filter( 'autoptimize_filter_noptimize','noptimize_archive', 10, 1 );
function my_ao_noptimize( $flag_in ) {
if ( is_archive() ) {
return true;
} else {
return $flag_in;
}
}
enjoy your weekend,
frank
Thread Starter
Michael
(@michael8888)
Thanks a lot! That works! You just to make sure that the function names match.
Wish you a great weekend as well!
That works! You just to make sure that the function names match.
ah, indeed, forgot to change the function name on line 2 🙂
Thanks a lot!
you’re welcome, feel free to leave a review of the plugin and support here! 🙂