Filter: postie_email_reject_subject

This filter is called before a reject notification email is sent and can be used to modify the subject line.

At the point the filter is called there is no post created.
Parameters:
  • $subject – a string that is the email subject.
  • $postemail – an array that represents the parsed email. See filter: postie_post_pre for more details.
add_filter('postie_email_reject_subject', 'my_postie_email_reject_subject', 10, 2);

function my_postie_email_reject_subject($subject, $postemail) {
 return $subject . ' / Dieser Beitrag wurde abgelehnt';
}