Is there any way I can generate/import “dynamic” css through a plugin?
I would like to access some options set by the plugin and generate some css rules based on these.
The basic idea is to serve a php file as css, but as a plugin only loads the index.css file, I’m looking for an alternative way to load a index.css.php file, for example:
But this will always regenerate the styles on page load, so I doubt, that this is good practice.
I guess You’d have to investigate a little further, if You want to cache the results.