wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/ms-functions.php › WordPress File
Functions60
› Multisite WordPress API
Function | Short description |
---|---|
add_existing_user_to_blog | Adds a user to a blog based on details from maybe_add_existing_user_to_blog(). |
add_new_user_to_blog | Adds a newly created user to the appropriate blog |
add_user_to_blog | Adds a user to a blog, along with specifying the user's role. |
check_upload_mimes | Checks an array of MIME types against a list of allowed types. |
domain_exists | Checks whether a site name is already taken. |
filter_ssl | Formats a URL to use https. |
fix_phpmailer_messageid | Corrects From host on outgoing mail to match the site domain. |
force_ssl_content | Determines whether to force SSL on content. |
get_active_blog_for_user | Gets one of a user's active blogs. |
get_blog_count | Gets the number of active sites on the installation. |
get_blog_id_from_url | Gets a blog's numeric ID from its URL. |
get_blog_permalink | Gets the permalink for a post on another blog. |
get_blog_post | Gets a blog post from any site on the network. |
get_current_site | Gets the current network. |
get_most_recent_post_of_user | Gets a user's most recent post. |
get_sitestats | Gets the network's site and user counts. |
get_space_allowed | Returns the upload quota for the current blog. |
get_space_used | Returns the space used by the current site. |
get_subdirectory_reserved_names | Retrieves a list of reserved site on a sub-directory Multisite installation. |
get_upload_space_available | Determines if there is any upload space left in the current blog's quota. |
is_email_address_unsafe | Checks an email address against a list of banned domains. |
is_upload_space_available | Determines if there is any upload space left in the current blog's quota. |
is_user_spammy | Determines whether a user is marked as a spammer, based on user login. |
maybe_add_existing_user_to_blog | Adds a new user to a blog by visiting /newbloguser/{key}/. |
maybe_redirect_404 | Corrects 404 redirects when NOBLOGREDIRECT is defined. |
newblog_notify_siteadmin | Notifies the network admin that a new site has been activated. |
newuser_notify_siteadmin | Notifies the network admin that a new user has been activated. |
redirect_this_site | Ensures that the current site's domain is listed in the allowed redirect host list. |
remove_user_from_blog | Removes a user from a blog. |
signup_nonce_check | Processes the signup nonce created in signup_nonce_fields(). |
signup_nonce_fields | Adds a nonce field to the signup page. |
update_blog_public | Updates this blog's 'public' setting in the global blogs table. |
update_network_option_new_admin_email | Sends a confirmation request email when a change of network admin email address is attempted. |
update_posts_count | Updates a blog's post count. |
upload_is_file_too_big | Checks whether an upload is too big. |
upload_size_limit_filter | Filters the maximum upload file size allowed, in bytes. |
users_can_register_signup_filter | Determines whether users can self-register, based on Network settings. |
welcome_user_msg_filter | Ensures that the welcome message is not empty. Currently unused. |
wpmu_activate_signup | Activates a signup. |
wpmu_create_blog | Creates a site. |
wpmu_create_user | Creates a user. |
wpmu_log_new_registrations | Logs the user email, IP, and registration date of a new site. |
wpmu_new_site_admin_notification | Notifies the Multisite network administrator that a new site was created. |
wpmu_signup_blog | Records site signup information for future activation. |
wpmu_signup_blog_notification | Sends 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_user | Records user signup information for future activation. |
wpmu_signup_user_notification | Sends 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_signup | Processes new site registrations. |
wpmu_validate_user_signup | Sanitizes and validates data required for a user sign-up. |
wpmu_welcome_notification | Notifies the site administrator that their site activation was successful. |
wpmu_welcome_user_notification | Notifies a user that their account activation has been successful. |
wp_delete_signup_on_user_delete | Deletes an associated signup entry when a user is deleted from the database. |
wp_is_large_network | Determines whether or not we have a large network. |
wp_maybe_update_network_site_counts | Updates the count of sites for the current network. |
wp_maybe_update_network_user_counts | Updates the network-wide users count. |
wp_network_admin_email_change_notification | Sends an email to the old network admin email address when the network admin email address changes. |
wp_schedule_update_network_counts | Schedules update of the network-wide counts for the current network. |
wp_update_network_counts | Updates the network-wide counts for the current network. |
wp_update_network_site_counts | Updates the network-wide site count. |
wp_update_network_user_counts | Updates the network-wide user count. |