style_loader_tag not changing stylesheet to preload
I tested your code and it seems to work fine, my guess is that your $targetHanldes containes the wrong handles. Best option would be to see what $html and $handle contain and that way you could add them to the haystack. But for now try this instead $targetHanldes = array(‘flexible-shipping-notices’, ‘animate’); Again this is pure … Read more