Title: wp-includes/ms-functions.php | Page 4 of 4 | Developer.WordPress.org

---

# File: wp-includes/ms-functions.php

 * function[is_email_address_unsafe()](https://developer.wordpress.org/reference/functions/is_email_address_unsafe/)
 * Checks an email address against a list of banned domains.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/is_email_address_unsafe/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/is_email_address_unsafe/#uses)
   | Source: [wp-includes/ms-functions.php:399](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L399-L439)
 * hook[wpmu_signup_user_notification_email](https://developer.wordpress.org/reference/hooks/wpmu_signup_user_notification_email/)
 * Filters the content of the notification email for new user sign-up.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wpmu_signup_user_notification_email/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wpmu_signup_user_notification_email/#uses)
   | Source: [wp-includes/ms-functions.php:1133](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L1133-L1141)
 * function[get_sitestats()](https://developer.wordpress.org/reference/functions/get_sitestats/)
 * Gets the network’s site and user counts.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_sitestats/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/functions/get_sitestats/#uses)
   | Source: [wp-includes/ms-functions.php:22](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L22-L29)
 * function[get_active_blog_for_user()](https://developer.wordpress.org/reference/functions/get_active_blog_for_user/)
 * Gets one of a user’s active blogs.
 * Used by [3 functions](https://developer.wordpress.org/reference/functions/get_active_blog_for_user/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/functions/get_active_blog_for_user/#uses)
   | Source: [wp-includes/ms-functions.php:45](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L45-L111)
 * function[get_blog_count()](https://developer.wordpress.org/reference/functions/get_blog_count/)
 * Gets the number of active sites on the installation.
 * Used by [5 functions](https://developer.wordpress.org/reference/functions/get_blog_count/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/get_blog_count/#uses)
   | Source: [wp-includes/ms-functions.php:125](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L125-L127)
 * function[get_blog_post()](https://developer.wordpress.org/reference/functions/get_blog_post/)
 * Gets a blog post from any site on the network.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_blog_post/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_blog_post/#uses)
   | Source: [wp-includes/ms-functions.php:141](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L141-L147)
 * function[add_user_to_blog()](https://developer.wordpress.org/reference/functions/add_user_to_blog/)
 * Adds a user to a blog, along with specifying the user’s role.
 * Used by [5 functions](https://developer.wordpress.org/reference/functions/add_user_to_blog/#used-by)
   | Uses [13 functions](https://developer.wordpress.org/reference/functions/add_user_to_blog/#uses)
   | Source: [wp-includes/ms-functions.php:162](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L162-L220)
 * hook[add_user_to_blog](https://developer.wordpress.org/reference/hooks/add_user_to_blog/)
 * Fires immediately after a user is added to a site.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/add_user_to_blog/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/add_user_to_blog/#uses)
   | Source: [wp-includes/ms-functions.php:212](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L212-L212)
 * function[remove_user_from_blog()](https://developer.wordpress.org/reference/functions/remove_user_from_blog/)
 * Removes a user from a blog.
 * Used by [5 functions](https://developer.wordpress.org/reference/functions/remove_user_from_blog/#used-by)
   | Uses [13 functions](https://developer.wordpress.org/reference/functions/remove_user_from_blog/#uses)
   | Source: [wp-includes/ms-functions.php:240](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L240-L316)
 * hook[remove_user_from_blog](https://developer.wordpress.org/reference/hooks/remove_user_from_blog/)
 * Fires before a user is removed from a site.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/remove_user_from_blog/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/remove_user_from_blog/#uses)
   | Source: [wp-includes/ms-functions.php:258](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L258-L258)
 * function[get_blog_permalink()](https://developer.wordpress.org/reference/functions/get_blog_permalink/)
 * Gets the permalink for a post on another blog.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_blog_permalink/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_blog_permalink/#uses)
   | Source: [wp-includes/ms-functions.php:327](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L327-L333)
 * function[get_blog_id_from_url()](https://developer.wordpress.org/reference/functions/get_blog_id_from_url/)
 * Gets a blog’s numeric ID from its URL.
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/get_blog_id_from_url/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/functions/get_blog_id_from_url/#uses)
   | Source: [wp-includes/ms-functions.php:351](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/ms-functions.php#L351-L380)

 [Previous Page](https://developer.wordpress.org/reference/files/wp-includes/ms-functions.php/page/3/?output_format=md)

[1](https://developer.wordpress.org/reference/files/wp-includes/ms-functions.php/?output_format=md)
[2](https://developer.wordpress.org/reference/files/wp-includes/ms-functions.php/page/2/?output_format=md)
[3](https://developer.wordpress.org/reference/files/wp-includes/ms-functions.php/page/3/?output_format=md)
4