Title: Filter to remove code comments?
Last modified: October 14, 2020

---

# Filter to remove code comments?

 *  Resolved [leanderbraunschweig](https://wordpress.org/support/users/leanderbraunschweig/)
 * (@leanderbraunschweig)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/filter-to-remove-code-comments/)
 * Hi there,
 * just giving the plugin a go and appreciate all the options available, great work!
 * I try to keep things clean & lean as much as possible and am seeing a bunch of
   unnecessary comments in my HTML code:
 * `<!-- Subscribe to Comments Reloaded version 200813 --><!-- Subscribe to comments
   Reloaded MP: '/comment-subscriptions/' --><!-- BEGIN: subscribe to comments reloaded--
   ><!-- END: subscribe to comments reloaded -->`
 * _(see line 1630 ff. in wp\_subscribe\_reloaded.php)_
 * Would love for those to easily be deactivated via filter but couldn’t find any
   in the plugin’s code that would apply…
 * Any chance of adding a filter or option?
 * Thanks & regards!

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

 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/filter-to-remove-code-comments/#post-13534199)
 * Hi [@leanderbraunschweig](https://wordpress.org/support/users/leanderbraunschweig/)
 * Thanks.
 * Yeah, will make it possible to remove that in the next update.
 * Or maybe we’ll get rid of it, it’s to help out debugging when a user reports 
   having issues, but can’t really remember the last time I needed to check that.
 *  Thread Starter [leanderbraunschweig](https://wordpress.org/support/users/leanderbraunschweig/)
 * (@leanderbraunschweig)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/filter-to-remove-code-comments/#post-13536270)
 * Awesome, thank you! Keep up the great work, much appreciated.
 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/filter-to-remove-code-comments/#post-13538133)
 * You’re welcome and thank you.

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

The topic ‘Filter to remove code comments?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subscribe-to-comments-reloaded_f0f9fc.
   svg)
 * [Subscribe To Comments Reloaded](https://wordpress.org/plugins/subscribe-to-comments-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe-to-comments-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [WPKube](https://wordpress.org/support/users/wpkube/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/filter-to-remove-code-comments/#post-13538133)
 * Status: resolved