diff --git a/functions.php b/functions.php index 44c6a7b..bba95bb 100644 --- a/functions.php +++ b/functions.php @@ -1,54 +1,47 @@ Logg ut'; + echo 'Logg ut'; } } -// Change default WordPress email address -add_filter('wp_mail_from', 'new_mail_from'); -add_filter('wp_mail_from_name', 'new_mail_from_name'); -function new_mail_from($old) { return 'info@taubaneforeningen.no'; } +// Override the default WordPress sender address. +function new_mail_from($old) { + return "info@taubaneforeningen.no"; +} +add_filter("wp_mail_from", "new_mail_from"); -function new_mail_from_name($old) { return 'Norske Tau- og Kabelbaners Forening'; } -//end: Change default WordPress email address -?> \ No newline at end of file +function new_mail_from_name($old) { + return "Norske Tau- og Kabelbaners Forening"; +} +add_filter("wp_mail_from_name", "new_mail_from_name");