Forums
Forums / Plugin: Autoptimize / Hide or remove html comments
(@mikelovewp)
4 years, 7 months ago
Hello,
Is there a way to disable Optimize HTML Code, and still hide or remove html comments from source?
<!-- WordPress xxxx plugin -->
Thanks
(@optimizingmatters)
afraid not except if you’re into PHP, in which case you could hook into the autoptimize_html_after_minify filter to perform some regex magic?
autoptimize_html_after_minify
frank
The topic ‘Hide or remove html comments’ is closed to new replies.