Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • jorrit91
    Participant

    @jorrit91

    Ey Shanebp, since it is a live site we’re talking about, I’d like to make sure my interpretation of your reply is correct, can you confirm it?

    Thanks!


    jorrit91
    Participant

    @jorrit91

    Hey Shanebp, superduperthanks for the code. Do I just put the code in my themes functions.php? And just this part?

    function jorrit_filter_forum_topic_message_email( $message, $topic_id, $forum_id, $user_id ) {
    
        $message = wp_trim_words( $message, 15 ); // change 15 to however many words you want
    
        return $message;
    }
    add_filter( 'bbp_forum_subscription_mail_message', 'jorrit_filter_forum_topic_message_email', 10, 4 );
Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar