• Resolved Jose

    (@giuse)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    Thank you for your patience!

    Warmly,

    Mihaela

    Thread Starter Jose

    (@giuse)

    Hi Mihaela,

    thank you very much!

    Have a great day!

    Jose

    @mplusb

    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.