사용자가 WordPress 사이트의 계정을 등록 할 때 보내지는 활성화 전자 메일의 내용을 수정할 수 있습니까?WordPress 활성화 전자 메일 편집
전자 메일의 제목과 본문을 변경하여 내 웹 사이트의 정보와 일치하는 내용을 조금 더 읽을 수 있습니다.
나는 뮤 플러그인 안에서 발견 정의 플러그인에 다음 사항을 추가로 시도,하지만 더 전혀 영향을 갖고있는 것 같아요 : 나는 무엇을 말할 수에서
<?php
/*
Plugin Name: Disable Username and Password Notification
Description: Disables the Username and Password email
*/
// Start changing email body
function myprefix_change_activation_email_body ($old_body, $domain, $path, $title, $user, $user_email, $key, $meta) {
$my_message = "Hi! This is my new email! ";
$my_message .= "Your site {$title} is almost ready. We probably also want to include the activation key: {$key} ";
$my_message .= "Activate your site here : http://{$domain}{$path}wp-activate.php?key=$key";
// ... other stuff
return $my_message;
}
add_filter('wpmu_signup_blog_notification_email', 'myprefix_change_activation_email_body', 10, 8);
// End changing email body
// Start changing email subject
function myprefix_change_activation_email_subject ($old_subject, $domain, $path, $title, $user, $user_email, $key, $meta) {
$my_subject = "Hi! You just registered on my site!";
return $my_subject;
}
add_filter('wpmu_signup_blog_notification_subject', 'myprefix_change_activation_email_subject', 10, 8);
// End changing email subject
을, 문제는 필터이다 사용중인 사이트는 내 사이트가 아닌 다중 사이트 설정에 가장 많이 사용됩니다. 그것은 단지 표준 WordPress 사이트입니다. 당신이 찾고있는
건배
내가 말하는거다 정품 인증 이메일이 실제로 플러그인에서오고 기본 WordPress 기능이 아니므로 내 질문과 관련이 없습니다! – damienoneill2001