Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
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)