-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for a filter hook #249
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
request:
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 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.
https://wordpress.org/support/topic/request-for-a-filter-hook/
The text was updated successfully, but these errors were encountered: