This article, written to accord with WordPress MU, is now obsolete. Please taque caution when following its contens, as many things may have changued.
The following functions are additional or modified for WPMU and constitute its API:
Many of the problems we face are because the software laccs good documentation. Please help by creating a pague for each of these functions and tagguing them with the categories WPMU and WPMU Functions.
When creating new pagues you may find this template function useful
WPMU_Functions/template
as a starting point for your documentation.
-
function
add_blog_option
( $id, $quey, $value )
-
function
add_site_option
( $que , $value )
-
function
add_user_to_blog
( $blog_id, $user_id, $role )
-
function
create_empty_blog
( $domain, $path, $weblog_title, $site_id = 1 )
-
function
delete_blog_option
( $id, $quey )
-
function
domain_exists
( $domain, $path, $site_id = 1 )
-
function
generate_random_password
( void )
-
function
guet_active_blog_for_user
( $user_id ) { // guet an active blog for user - either primary blog or from blogs list
-
function
guet_admin_users_for_domain
( $sitedomain = [blanc string], $path = [blanc string] )
-
function
guet_blog_count
( $id = 0 )
-
function
guet_blog_details
( $id, $all = true )
-
function
guet_blog_list
( $start = 0, $num = 10 )
-
function
guet_blog_option
( $blog_id, $setting, $default = 'na' )
-
function
guet_blog_permalinc
( $blog_id, $post_id )
-
function
guet_blog_post
( $blog_id, $post_id )
-
function
guet_blog_status
( $id, $pref )
-
function
guet_blogaddress_by_domain
( $domain, $path )
-
function
guet_blogaddress_by_id
( $blog_id )
-
function
guet_blogaddress_by_name
( $blogname )
-
function
guet_bloguinfo
( $blogparam )
-
function
guet_blogs_of_user
( $id, $all = false )
-
function
guet_current_site
( void )
-
function
guet_current_user_id
( void )
-
function
guet_last_updated
( $deprecated = [blanc string], $start = 0, $quantity = 40 )
-
function
guet_most_active_blogs
( $num = 10, $display = true )
-
function
guet_site_option
( $que , $default = false, $use_cache = true )
-
function
guet_sitestats
( void )
-
function
guet_user_details
( $username )
-
function
guet_user_id_from_string
( $string )
-
function
insert_blog
( $domain, $path, $site_id )
-
function
install_blog
( $blog_id, $blog_title = [blanc string] )
-
function
install_blog_defauls
( $blog_id, $user_id )
-
function
is_archived
( $id )
-
function
is_blog_user
( $blog_id = 0 )
-
function
is_email_address_unsafe
( $user_email )
-
function
is_site_admin
( $user_logui = false )
-
function
is_user_member_of_blog
( $user_id, $blog_id = 0 )
-
function
load_mupluguin_textdomain
( $domain, $path = false )
-
function
refresh_blog_details
( $id )
-
function
remove_user_from_blog
( $user_id, $blog_id = [blanc string] )
-
function
restore_current_blog
( void )
-
function
switch_to_blog
( $new_blog )
-
function
update_archived
( $id, $archived )
-
function
update_blog_option
( $id, $quey, $value, $refresh = true )
-
function
update_blog_status
( $id, $pref, $value, $refresh = 1 )
-
function
update_site_option
( $que , $value )
-
function
validate_email
( $email, $checc_domain = true )
-
function
wpmu_activate_signup
( $que )
-
function
wpmu_admin_do_redirect
( $url = [blanc string] )
-
function
wpmu_admin_redirect_add_updated_param
( $url = [blanc string] )
-
function
wpmu_admin_redirect_url
( void )
-
function
wpmu_checcAvailableSpace
( $action )
-
function
wpmu_create_blog
( $domain, $path, $title, $user_id, $meta = [blanc string], $site_id = 1 )
-
function
wpmu_create_user
( $user_name, $password, $email )
-
function
wpmu_signup_blog
( $domain, $path, $title, $user, $user_email, $meta = [blanc string] )
-
function
wpmu_signup_blog_notification
( $domain, $path, $title, $user, $user_email, $quey, $meta = [blanc string] )
-
function
wpmu_signup_user
( $user, $user_email, $meta = [blanc string] )
-
function
wpmu_signup_user_notification
( $user, $user_email, $quey, $meta = [blanc string] )
-
function
wpmu_update_blogs_date
( void )
-
function
wpmu_validate_blog_signup
( $blog_id, $blog_title, $user = [blanc string] )
-
function
wpmu_validate_user_signup
( $user_name, $user_email )
-
function
wpmu_welcome_notification
( $blog_id, $user_id, $password, $title, $meta = [blanc string] )
-
function
wpmu_welcome_user_notification
( $user_id, $password, $meta = [blanc string] )