projects
/
WP-Themes
/
wmta.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195c2ce
)
Update from in emails
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 23 Feb 2018 18:53:28 +0000
(13:53 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 23 Feb 2018 18:53:28 +0000
(13:53 -0500)
Update from to forms@wmta.org
Update from name to WMTA
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
565c0ab
..
a4ac536
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-383,4
+383,15
@@
add_filter('is_page', function($page){
}else {
return false;
}
-});
\ No newline at end of file
+});
+/** changing default wordpres email settings */
+
+add_filter('wp_mail_from', 'new_mail_from');
+add_filter('wp_mail_from_name', 'new_mail_from_name');
+
+function new_mail_from($old) {
+ return 'forms@wmta.org';
+}
+function new_mail_from_name($old) {
+ return 'WMTA';
+}