Kategorien
Entwickler Wordpress

WordPress wechsel des Sendernamen und Email Adresse global

/* change default from eamil worpdress */
function change_my_from_address( $original_email_address ) {
    return 'jobs@droidcon.com';
}
add_filter( 'wp_mail_from', 'change_my_from_address' );

// Function to change sender name
function change_my_sender_name( $original_email_from ) {
    return 'droidcon';
}
add_filter( 'wp_mail_from_name', 'change_my_sender_name' );