A WordPress-centric search engine for devs and theme authors

wp-includes/ms-functions.php › WordPress File

Multisite WordPress API

Function Short description
add_existing_user_to_blogAdd a user to a blog based on details from maybe_add_existing_user_to_blog().
add_new_user_to_blogAdds a newly created user to the appropriate blog
add_user_to_blogAdds a user to a blog, along with specifying the user's role.
check_upload_mimesCheck an array of MIME types against a list of allowed types.
domain_existsChecks whether a site name is already taken.
filter_sslFormats a URL to use https.
fix_phpmailer_messageidCorrect From host on outgoing mail to match the site domain
force_ssl_contentWhether to force SSL on content.
get_active_blog_for_userGet one of a user's active blogs
get_blog_countThe number of active sites on your installation.
get_blog_id_from_urlGet a blog's numeric ID from its URL.
get_blog_permalinkGet the permalink for a post on another blog.
get_blog_postGets a blog post from any site on the network.
get_current_siteGet the current network.
get_most_recent_post_of_userGet a user's most recent post.
get_sitestatsGets the network's site and user counts.
get_space_allowedReturns the upload quota for the current blog.
get_space_usedReturns the space used by the current site.
get_subdirectory_reserved_namesRetrieves a list of reserved site on a sub-directory Multisite installation.
get_upload_space_availableDetermines if there is any upload space left in the current blog's quota.
get_user_countThe number of active users in your installation.
global_termsMaintains a canonical list of terms by syncing terms created for each blog with the global terms table.
is_email_address_unsafeChecks an email address against a list of banned domains.
is_upload_space_availableDetermines if there is any upload space left in the current blog's quota.
is_user_spammyCheck to see whether a user is marked as a spammer, based on user login.
maybe_add_existing_user_to_blogAdd a new user to a blog by visiting /newbloguser/{key}/.
maybe_redirect_404Correct 404 redirects when NOBLOGREDIRECT is defined.
newblog_notify_siteadminNotifies the network admin that a new site has been activated.
newuser_notify_siteadminNotifies the network admin that a new user has been activated.
redirect_this_siteEnsure that the current site's domain is listed in the allowed redirect host list.
remove_user_from_blogRemove a user from a blog.
signup_nonce_checkProcess the signup nonce created in signup_nonce_fields().
signup_nonce_fieldsAdd a nonce field to the signup page.
update_blog_publicUpdate this blog's 'public' setting in the global blogs table.
update_network_option_new_admin_emailSend a confirmation request email when a change of network admin email address is attempted.
update_posts_countUpdate a blog's post count.
upload_is_file_too_bigCheck whether an upload is too big.
upload_size_limit_filterFilters the maximum upload file size allowed, in bytes.
users_can_register_signup_filterCheck whether users can self-register, based on Network settings.
welcome_user_msg_filterEnsure that the welcome message is not empty. Currently unused.
wpmu_activate_signupActivate a signup.
wpmu_create_blogCreate a site.
wpmu_create_userCreate a user.
wpmu_log_new_registrationsLogs the user email, IP, and registration date of a new site.
wpmu_new_site_admin_notificationNotifies the Multisite network administrator that a new site was created.
wpmu_signup_blogRecord site signup information for future activation.
wpmu_signup_blog_notificationSend a confirmation request email to a user when they sign up for a new site. The new site will not become active until the confirmation link is clicked.
wpmu_signup_userRecord user signup information for future activation.
wpmu_signup_user_notificationSend a confirmation request email to a user when they sign up for a new user account (without signing up for a site at the same time). The user account will not become active until the confirmation link is clicked.
wpmu_validate_blog_signupProcesses new site registrations.
wpmu_validate_user_signupSanitize and validate data required for a user sign-up.
wpmu_welcome_notificationNotifies the site administrator that their site activation was successful.
wpmu_welcome_user_notificationNotify a user that their account activation has been successful.
wp_delete_signup_on_user_deleteDeletes am associated signup entry when a user is deleted from the database.
wp_is_large_networkWhether or not we have a large network.
wp_maybe_update_network_site_countsUpdate the count of sites for the current network.
wp_maybe_update_network_user_countsUpdate the network-wide users count.
wp_network_admin_email_change_notificationSend an email to the old network admin email address when the network admin email address changes.
wp_schedule_update_network_countsSchedule update of the network-wide counts for the current network.
wp_update_network_countsUpdate the network-wide counts for the current network.
wp_update_network_site_countsUpdate the network-wide site count.
wp_update_network_user_countsUpdate the network-wide user count.