update_welcome_user_email

update_welcome_user_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('update_welcome_user_email') is found 1 times:

  • /wp-includes/ms-functions.php line 1867
    	 * @param int    $user_id       User ID.
    	 * @param string $password      User password.
    	 * @param array  $meta          Signup meta data. Default empty array.
    	 */
    	$welcome_email = apply_filters( 'update_welcome_user_email', $welcome_email, $user_id, $password, $meta );
    	$welcome_email = str_replace( 'SITE_NAME', $current_network->site_name, $welcome_email );
    	$welcome_email = str_replace( 'USERNAME', $user->user_login, $welcome_email );
    	$welcome_email = str_replace( 'PASSWORD', $password, $welcome_email );
    	$welcome_email = str_replace( 'LOGINLINK', wp_login_url(), $welcome_email );
    
    	$admin_email = get_site_option( 'admin_email' );
    

See this hook used in plugins: