For our customization want to set wp mail from name when sending mail using wp_mail() then place the following snippet in functions.php within your theme folder!.
function set_wp_mail_from_name( $original_email_from ) { $cw_email_from_name = 'Testing'; return $cw_email_from_name; } add_filter( 'wp_mail_from_name', 'set_wp_mail_from_name' );
Have any doubt, then comment here!