Title: Request for a filter hook
Last modified: December 29, 2022

---

# Request for a filter hook

 *  Resolved [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/request-for-a-filter-hook/)
 * Hello, first of all kudos for this amazing plugin!
 * Would it be possible in the file templates/view-ticket.php at line 214 [https://plugins.trac.wordpress.org/browser/kb-support/tags/1.5.84/templates/view-ticket.php#L214](https://plugins.trac.wordpress.org/browser/kb-support/tags/1.5.84/templates/view-ticket.php#L214)
   to replace this line of code
 *     ```wp-block-code
       echo wp_kses_post( $reply_content );
       ```
   
 * with this one?:
 *     ```wp-block-code
       echo wp_kses_post( apply_filters( 'kbs_reply_content',$reply_content ) );
       ```
   
 * I mean, can you please provide a filter hook for the reply content? Without that
   filter in my case, it’s not possible to display the reply content in a proper
   way. 
   In my specific case, I think one of the other plugins on my installation
   removes the wpautop. So, this is not a bug of your plugin, but a filter hook 
   would help a lot in solving issues caused by other plugins.
 * I need to restore wpautop to the reply content, but I would need a filter to 
   do that.
 * This custom code would solve my problem:
 *     ```wp-block-code
       add_filter( 'kbs_reply_content','wpautop',999999999 );
       ```
   
 * I can imagine also in other situations other users may need to filter the reply
   content. Would it be a problem for you to provide that filter?
 * Thank you in any case for your amazing plugin.
 * Best regards
 * Jose

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

 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/request-for-a-filter-hook/#post-16330250)
 * Hi Jose!
 * Thanks for reaching out!
 * I went ahead and opened a ticket on GitHub regarding your request. Our dev team
   will investigate and see if this is something they could add.
 * You can follow the progress here: [https://github.com/WPChill/kb-support/issues/249](https://github.com/WPChill/kb-support/issues/249)
 * Thank you for your patience!
 * Warmly,
 * Mihaela
 *  Thread Starter [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/request-for-a-filter-hook/#post-16330318)
 * Hi Mihaela,
 * thank you very much!
 * Have a great day!
 * Jose
 * [@mplusb](https://wordpress.org/support/users/mplusb/)
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/request-for-a-filter-hook/#post-16410924)
 * This topic will be marked as resolved due to inactivity and because we have an
   open ticket on GitHub regarding this. Please keep in mind that the ‘resolved’
   status is only for this support thread, not the issue on GitHub.

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

The topic ‘Request for a filter hook’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/kb-support_154a44.svg)
 * [KB Support - Customer Support Ticket & Helpdesk Plugin, Knowledge Base Plugin](https://wordpress.org/plugins/kb-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kb-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kb-support/)
 * [Active Topics](https://wordpress.org/support/plugin/kb-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kb-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kb-support/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Miha](https://wordpress.org/support/users/mplusb/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/request-for-a-filter-hook/#post-16410924)
 * Status: resolved