Hi,
I spoke about "transform".
All SVG's are already in the media library; so there is no need to have it in the DB.
Image single also exists.
ONLY the output format is missing in MB.
You simply can use PHP functions require or include in your code base to be able to output the content.
This is my simple example, maybe you have a better approach:
<?php
function svg_include($file_name, $site_url) {
$file = $site_url . '/wp-content/uploads/' . $file_name . '.svg';
$output = require ($file);
return $output;
}
?>
I would like to use this function.
But unfortunately, this is not possible in certain situations ;-(
That's the reason why I am asking - I think it would bring MB also a benefit, without much effort...