Lenght of post in email content
-
Hey there,
Im trying to make a change on the plugin:
What im seeking is to always show a FIXED paragraph (first one of the post) to be sent in the email body.
As i get in to the code, i can see there is a “caracter lenght” value set to “40” as default.Is there any option to replace this fixed lenght for something like “first paragraph”?
ref: $mailcontent .= ‘<h2>guid.’&refferer=mailnotify&uid=’.$userid.'”>’.$postobject->post_title.’</h2>’.implode(‘ ‘, array_slice(explode(‘ ‘, $postcontent), 0, 40)).’ guid.’&refferer=mailnotify&uid=’.$userid.'”>[…]‘;
Regards
- The topic ‘Lenght of post in email content’ is closed to new replies.