Skip to:
Content
Pages
Categories
Search
Top
Bottom

Send Private Message in HTML

  • @elpix

    Participant

    Hi everyone !

    I try to send HTML private message (with <table> and inside).

    The message is displayed without the HTML (and in the Database there isn’t HTML).
    I think it’s because of the filters 🙁

    Does someone know how to fix that ?

    Thanks a lot 🙂

Viewing 1 replies (of 1 total)
  • @elpix

    Participant

    I’ve found by myself 🙂

    To send HTML private message, you must add :
    [
    edited – Please use the ‘code’ button when you post code.
    Please note that removing that filter creates a major security risk.
    It means user input WILL NOT BE SANITIZED.
    So some very bad things can happen to your database.

    ]
    remove_filter( 'messages_message_content_before_save', 'wp_filter_kses', 1);

    To the bp-custom.php file.

    I hope it will helps !

Viewing 1 replies (of 1 total)
  • The topic ‘Send Private Message in HTML’ is closed to new replies.
Skip to toolbar