@andrewlazarev2022 If you (or anyone) can explain where the plugin is *not* working, it would enable me to investigate. I need to know specifically which images and where they are located (e.g., home page, single post, etc.). Also need to know if the images are within the post content, or somewhere else, like a sidebar or footer or something.
Currently testing on default WordPress and the plugin seems to be working perfectly. So any clues as to where things aren’t working would be great. Thanks.
Another update: I did find one case where the plugin is not removing the lazy loading attribute: featured images. Featured images for some reason will continue to include the lazy attribute even if lazy loading is disabled via this plugin (i.e., the wp_lazy_loading_enabled hook). As far as I can tell, this is a bug with WordPress, and not the plugin.
So as a temporary fix, I wrote a function that removes the lazy attribute from all featured images. This is a beta feature that’s not yet added to the main plugin hosted here at WordPress.org. Anyone who wants to test and leave feedback can download the beta version (3KB ZIP file). Let me know if this works and I’ll add it to the main plugin asap. Thank you.