Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
Hi Support,
When there is a reply to any topic, wpForo sends to subscribed users an email notification.
This email includes the link to the topic, to the reply and the first 100 characters of the body contents of the reply.
I need to reduce this intro to the reply's content to only the first 50 characters, how can I do that?
Thanks.
Hi @jorgew,
There is a filter hook to change the post body length in emails:
'wpforo_email_notification_post_body_length'
Put this code in active WordPress theme functions.php file:
function wpforo_custom_post_body_lenght( $post_body_lenght ){
$post_body_lenght = 50;
return $post_body_lenght;
}
add_filter('wpforo_email_notification_post_body_length', 'wpforo_custom_post_body_lenght', 10);
Read this article to do it correctly:
How to Easily Add Custom Code in WordPress (without Breaking Your Site)