-
Henry Wright replied to the topic How to restrict PM notifications email to excerpt only in the forum How-to & Troubleshooting 9 years, 9 months ago
Hi @pieter
Try this
function filter_private_message_email_body( $email_content, $sender_name, $subject, $content, $message_link, $settings_link, $ud ) {
$content = substr( $content , 0, 140 );
$email_content = sprintf( __(
'%1$s sent you a new message:
Subject: %2$s
"%3$s"
To view and read your messages please log in and visit:…[Read more] -
Henry Wright replied to the topic How to restrict PM notifications email to excerpt only in the forum How-to & Troubleshooting 9 years, 9 months ago
Hi @pieter
Try this
function filter_private_message_email_body( $email_content, $sender_name, $subject, $content, $message_link, $settings_link, $ud ) {
$content = substr( $content , 0, 140 );
$email_content = sprintf( __(
'%1$s sent you a new message:
Subject: %2$s
"%3$s"
To view and read your messages please log in and visit:…[Read more]
@pieter
Active 3 weeks ago