-
-
Save futtta/b672e28bdd89fd29f9e7a7978169e62b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('autoptimize_filter_html_before_minify','noptimize_address'); | |
function noptimize_address($in) { | |
$out=preg_replace("/(<address.*<\/address>)/sU","<!--noptimize-->$1<!--/noptimize-->",$in); | |
return $out; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment