Created
January 28, 2015 03:50
-
-
Save dodyw/fef4af7478d806e57e37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: My Name Email | |
* Description: Use custom email From Name | |
* Plugin URI: http://toscho.de/?p=2201 | |
* Version: 2015.01.28 | |
* Author: Dody Rachmat Wicaksono | |
* Author URI: http://www.dodyrw.com | |
* License: GPL | |
*/ | |
function dd_use_my_email(){ | |
return 'this_is_your_email@domain.com'; | |
} | |
add_filter( 'wp_mail_from', 'dd_use_my_email' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment