Úprava hlavičky e-mailu odesílaného WordPressem

Změna z “WordPress” na “Můj web/Moje jméno”

/—code php
function website_email() {
$sender_email= ‚Your email here‘;
return $sender_email;
}
function website_name(){
$site_name = ‚Your site name here‘;
return $site_name;
}
add_filter(‚wp_mail_from‘,’website_email‘);
add_filter(‚wp_mail_from_name‘,’website_name‘);
\—

„http://webania.net/customize-email-sending-header-in-wordpress/“:http://webania.net/customize-email-sending-header-in-wordpress/