Request: Code review of my plugin for inlining SVGs uploaded to the Elementor icon widget directly into the HTML document on a per widget basis to improve performance

[ad_1]

https://github.com/jazir555/Inline-SVGs-uploaded-to-Elementor-Icon-Widget/tree/main

I'm working a plugin which creates a toggle in the icon widget's advanced settings which when enabled inlines the SVG file directly into the HTML document to eliminate the HTTP request for the SVG file, which can improve pagespeed performance when used with small SVG files.

I would greatly appreciate it if anyone could take a look and review the code to see if there are any bugs or amendments that need to be made. Once this is bug free (or as close as I can get it), I intend to add functionality to the plugin to encompass any widget which allows adding SVG icons.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer