Native Lazy Loading Support for iframes Coming To WordPress 5.7
https://wptavern.comWordPress announced upcoming support for lazy loading iframes. The feature is included in the latest WordPress 5.7 beta and will officially ship next month to the larger community.
WordPress has supported lazy loading for images since version 5.5. However, support for iframes was not included in the initial feature set. Chrome natively supports lazy loading iframes from mid last year.
The key thing to note here is that WordPress will only add the loading="lazy"
attribute if an explicit width and height are set for the iframe.