/ Published in: PHP
A usefull function to minify code or string. This is part of the WPelements library class available on Github.
Feedback / suggestions / improvements are welcome.
Feedback / suggestions / improvements are welcome.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Function to minify any given string (usefull for javascript) * @return string * */ public function minifyJs($code) { return $code; }
URL: https://github.com/krike/WPelements