Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to restrict new topic notifications email to excerpt only

@jorrit91

Participant

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 );
Skip to toolbar