Skip to:

Replace text in new messages email

  • navyspitfire


    I’m trying to replace the text “go to the discussion to reply or catch up on the conversation” at the bottom of the email users receive when they are privately emailed. I tracked down the wordage to to the bp-core-functions.php file under function bp_email_get_schema() {...}, under 'messages-unread' => array(...) and replaced it, but it’s still showing the original message even though there is no instance of that phrase in the file anymore.

    There is also the following comment before the array: /* translators: do not remove {} brackets or translate its contents. */. My new message had removed the brackets ({{{message.url}}}) because I don’t want to link the users to the direct message. I also tried adding back in the aforementioned bracket statement with my message, but it didn’t work.

    So, is there a specific reason why I can’t add my own message/remove the default message in that email? Does anyone know of a solution?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar