2017-10-06 89 views

回答

1

我想你想得太多了,其接觸形式7 郵件標籤給出一個簡單的定製..你只需要改變的從內容:<your-name>

我會送你一個屏幕截圖,希望工程

https://prnt.sc/gtwg8v

+0

它的工作,無需編碼..謝謝.. –

+0

沒問題兄弟可以upvote it:P – sagar

1

請嘗試使用以下代碼。代碼將去的functions.php

// Function to change email address 

function wpb_sender_email($original_email_address) { 
return '[email protected]'; 
} 

// Function to change sender name 
function wpb_sender_name($original_email_from) { 
return 'Tim Smith'; 
} 

// Hooking up our functions to WordPress filters 
add_filter('wp_mail_from', 'wpb_sender_email'); 
add_filter('wp_mail_from_name', 'wpb_sender_name'); 
+0

你能爲我提供該文件的正確路徑,請 –

+0

@ManvendraRajpuro點擊'wp-content/themes/[your-theme]/functions.php' – naththedeveloper

+0

是@naththedeveloper你是對的 –

相關問題