Title: Comment strings to exclude from optimization
Last modified: August 24, 2016

---

# Comment strings to exclude from optimization

 *  Resolved [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * (@ecdltf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/comment-strings-to-exclude-from-optimization/)
 * In the 1.9.3 release notes you say “improvement: allow strings (comments) to 
   be excluded from HTML-optimization (comment removal)”
 * Somehow I’m unable to find where I can enter the comment strings to exclude …
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/comment-strings-to-exclude-from-optimization/#post-6033820)
 * ah, that’s not in the GUI, but in the API ecdltf; using the autoptimize_filter_html_exclude-
   filter you can add strings to indicate which comments should be excluded from
   removal. i should have made this clear in the changelog, my bad.
 * hope this clarifies,
    frank
 *  Thread Starter [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * (@ecdltf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/comment-strings-to-exclude-from-optimization/#post-6033825)
 * ok, thanks. I already thought there was something with my eyes 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Comment strings to exclude from optimization’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [feature](https://wordpress.org/support/topic-tag/feature/)
 * [GUI](https://wordpress.org/support/topic-tag/gui/)

 * 2 replies
 * 2 participants
 * Last reply from: [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/comment-strings-to-exclude-from-optimization/#post-6033825)
 * Status: resolved