wp-multi-comment-notifications.php aktualisiert
This commit is contained in:
parent
5da4627c4c
commit
37b41fd014
@ -241,12 +241,12 @@ function wp_multi_comment_notifications_on_comment($comment_ID) {
|
||||
$email_message = strtr($email_message, [
|
||||
'{{COMMENT_AUTHOR}}' => $author,
|
||||
'{{COMMENT_TEXT}}' => $text,
|
||||
'{{USER_NAME}}' => $author, // Nur für Testzwecke
|
||||
'{{USER_NAME}}' => $author,
|
||||
'{{POST_TITLE}}' => $post_title,
|
||||
'{{SITE_NAME}}' => $site,
|
||||
'{{POST_URL}}' => $post_url,
|
||||
'{{COMMENT_DATE}}' => $comment_date,
|
||||
'{{COMMENT_URL}}' => '<a href="' . $comment_url . '" target="_blank">Kommentar ansehen</a>' // E-Mail mit anklickbarem Link
|
||||
'{{COMMENT_URL}}' => $comment_url
|
||||
]);
|
||||
$subject = "Neuer Kommentar auf $site: $post_title";
|
||||
$email_recipient = get_option('wp_user_1_email'); // Beispiel für den ersten Benutzer
|
||||
|
Loading…
x
Reference in New Issue
Block a user