Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
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 );