Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add “forum” to subject email notifications


  • sasasasaaa
    Participant

    @sasasasaaa

    Hello,
    is it possible to add the text ” – forum – ” to the subject line for email notifications when a new subscribed topic or new subscribed reply is added?

    I tried to alter $subject but without luck. I have only beginner php knowledge.

    Thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Robin W
    Moderator

    @robin-w

    the easiest way is to use

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Subscription Emails

    and you can amend headings there


    sasasasaaa
    Participant

    @sasasasaaa

    Thanks for your fast answer. I would prefer NOT to install another plugin only for adding one word. Is there another turnaround I can use in my child theme functions.php?


    Robin W
    Moderator

    @robin-w

    in which case you would hook to

    $subject = apply_filters( 'bbp_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $reply_id, $topic_id );

    in bbpress 2.6.6\includes\common\functions.php line 1124 and 1291

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