Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress change email new user template

//Use the plugin: Welcome Email Editor
// OR:
// CHANGE DEFAULT TEXT MAIL FOR NEW USERS (sent to admin)
add_filter( 'wp_new_user_notification_email_admin', 'custom_wp_new_user_notification_email', 10, 3 );
function custom_wp_new_user_notification_email( $wp_new_user_notification_email, $user, $blogname ) {
    $wp_new_user_notification_email['message'] = sprintf( "%s has been registered!.", $user->user_email );
    return $wp_new_user_notification_email;
}

// CHANGE DEFAULT TEXT MAIL FOR NEW USERS (sent to user)
add_filter( 'wp_new_user_notification_email', 'custom_wp_new_user_notification_email_user', 10, 3 );
function custom_wp_new_user_notification_email_user( $wp_new_user_notification_email, $user, $blogname ) {
    $wp_new_user_notification_email['message'] = sprintf( "%s ha sido registrado en ASTAC!.", $user->user_email );
    return $wp_new_user_notification_email;
}
Comment

PREVIOUS NEXT
Code Example
Php :: exit and echo php 
Php :: try_files $uri $uri/ /index.php?$query_string; 
Php :: php draw line pixel 
Php :: php get woocommerce attribute from database 
Php :: eloquent firstorcreate 
Php :: yii2 active data provider 
Php :: bd sms gateway, laravel sms gateway, sms sending library, bd sms, sms gateway 
Php :: laravel blade excerpt from body 
Php :: laravel database engine innodb 
Php :: laravel make model controller and migration one time 
Php :: octobercms mail view 
Php :: view blob phpmyadmin 
Php :: latavel attach method 
Php :: php substr_replace 
Php :: how to re assign value of associative array after assign in php 
Php :: isset in php 
Php :: append variable to string php 
Php :: php get the two number of time second 
Php :: laravel display category post by slug 
Php :: laravel route model binding 
Php :: php website templates free download with database 
Php :: causes of class not found in laravel 
Php :: php artisan websockets serve 
Php :: wordpress shortcode api 
Php :: dependency injection php 
Php :: mac os down upgrade php version 
Php :: php class 
Php :: unravel_index numpy 
Php :: php exceptions 
Php :: compare key and one array 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =