! empty( $settings['lazy_images'] ), 'iframes' => ! empty( $settings['lazy_iframes'] ), 'skip_first' => (int) ( $settings['lazy_skip_first'] ?? 2 ), 'exclude' => (array) ( $settings['lazy_exclude'] ?? array() ), ) ); } catch ( \Throwable $e ) { return $html; } // A page that had a closing must still have one. if ( false !== stripos( $html, '