-
Combine+Minify styles of parent theme and add as inline-style in wordpress
In a recent project, one of my tasks was to optimize and minify the styles included by the child-theme by combining and minify the styles of the parent theme into one file or include as custom inline style. While working on the task, I ended up reading multiple resources to and writing the function below.…