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.www.ads-software.com/browser/kb-support/tags/1.5.84/templates/view-ticket.php#L214 to replace this line of code
echo wp_kses_post( $reply_content );
with this one?:
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:
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
- The topic ‘Request for a filter hook’ is closed to new replies.