update_welcome_email

update_welcome_email

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('update_welcome_email') is found 1 times:

  • /wp-includes/ms-functions.php line 1665
    	 * @param string $password      User password, or "N/A" if the user account is not new.
    	 * @param string $title         Site title.
    	 * @param array  $meta          Signup meta data. By default, contains the requested privacy setting and lang_id.
    	 */
    	$welcome_email = apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta );
    
    	$admin_email = get_site_option( 'admin_email' );
    
    	if ( '' === $admin_email ) {
    		$admin_email = 'support@' . wp_parse_url( network_home_url(), PHP_URL_HOST );
    	}
    

See this hook used in plugins: