how to minify css in php style, script tag

edited February 2017 in PHP

I wanted to minify a style tag or a script tag using PHP. I have a style tag in my template and I needed to minify it so I can optimize my template.

My Style Goes Here

function minify_css(){
This function should automatically minify the style above

Thanks in advance

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!