WordPress: WPMU Functions:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: The following functions are additional to WPMU and constitute its API: Many of the problems we face are because the software lacks good documentation. Please help by creating a page for ...)
 
无编辑摘要
第1行: 第1行:
The following functions are additional to WPMU and constitute its API:
The following functions are additional to WPMU and constitute its API:
下面是添加到WPMU中的函数,这些函数组成了WPMU的API:


Many of the problems we face are because the software lacks good documentation. Please help by creating a page for each of these functions and tagging them with the WPMU category.  
Many of the problems we face are because the software lacks good documentation. Please help by creating a page for each of these functions and tagging them with the WPMU category.  
我们遇到的大多数问题的原因在于软件缺少好的文档。请为每个函数创建一个页面并且使用WPMU类别标记。


* function [[WordPress:WPMU Functions/add_blog_option|add_blog_option]] ( $id, $key, $value )  
* function [[WordPress:WPMU Functions/add_blog_option|add_blog_option]] ( $id, $key, $value )  
第66行: 第70行:
* function [[WordPress:WPMU Functions/wpmu_welcome_notification|wpmu_welcome_notification]] ($blog_id, $user_id, $password, $title, $meta = '')  
* function [[WordPress:WPMU Functions/wpmu_welcome_notification|wpmu_welcome_notification]] ($blog_id, $user_id, $password, $title, $meta = '')  
* function [[WordPress:WPMU Functions/wpmu_welcome_user_notification|wpmu_welcome_user_notification]] ($user_id, $password, $meta = '')
* function [[WordPress:WPMU Functions/wpmu_welcome_user_notification|wpmu_welcome_user_notification]] ($user_id, $password, $meta = '')
* 函数 [[WordPress:WPMU Functions/add_blog_option|add_blog_option]] ( $id, $key, $value )
*函数[[WordPress:WPMU Functions/add_site_option|add_site_option]] ( $key, $value )
*函数[[WordPress:WPMU Functions/add_user_to_blog|add_user_to_blog]] ( $blog_id, $user_id, $role )
*函数[[WordPress:WPMU Functions/create_empty_blog|create_empty_blog]] ( $domain, $path, $weblog_title, $site_id = 1 )
*函数[[WordPress:WPMU Functions/delete_blog_option|delete_blog_option]] ( $id, $key )
*函数[[WordPress:WPMU Functions/domain_exists|domain_exists]] ($domain, $path, $site_id = 1)
*函数[[WordPress:WPMU Functions/generate_random_password|generate_random_password]] ()
*函数[[WordPress:WPMU Functions/get_active_blog_for_user|get_active_blog_for_user]] ( $user_id ) { // 为用户创建活跃的博客- 从原先的博客或者从博客列表中获取
*函数[[WordPress:WPMU Functions/get_admin_users_for_domain|get_admin_users_for_domain]] ( $sitedomain = '', $path = '' )
*函数[[WordPress:WPMU Functions/get_blog_count|get_blog_count]] ( $id = 0 )
*函数[[WordPress:WPMU Functions/get_blog_details|get_blog_details]] ( $id, $all = true )
*函数[[WordPress:WPMU Functions/get_blog_list|get_blog_list]] ( $start = 0, $num = 10, $display = true )
*函数[[WordPress:WPMU Functions/get_blog_option|get_blog_option]] ( $blog_id, $setting, $default='na' )
*函数[[WordPress:WPMU Functions/get_blog_permalink|get_blog_permalink]] ( $blog_id, $post_id )
*函数[[WordPress:WPMU Functions/get_blog_post|get_blog_post]] ( $blog_id, $post_id )
*函数[[WordPress:WPMU Functions/get_blog_status|get_blog_status]] ( $id, $pref )
*函数[[WordPress:WPMU Functions/get_blogaddress_by_domain|get_blogaddress_by_domain]] ( $domain, $path )
*函数[[WordPress:WPMU Functions/get_blogaddress_by_id|get_blogaddress_by_id]] ( $blog_id )
*函数[[WordPress:WPMU Functions/get_blogaddress_by_name|get_blogaddress_by_name]] ( $blogname )
*函数[[WordPress:WPMU Functions/get_bloginfo|get_bloginfo]] ( $blogparam)
*函数[[WordPress:WPMU Functions/get_blogs_of_user|get_blogs_of_user]] ( $id, $all = false )
*函数[[WordPress:WPMU Functions/get_current_site|get_current_site]] ()
*函数[[WordPress:WPMU Functions/get_current_user_id|get_current_user_id]] ()
*函数[[WordPress:WPMU Functions/get_last_updated|get_last_updated]] ( $display = false )
*函数[[WordPress:WPMU Functions/get_most_active_blogs|get_most_active_blogs]] ( $num = 10, $display = 正确的 )
*函数[[WordPress:WPMU Functions/get_site_option|get_site_option]] ( $key, $default = 错误的, $use_cache = 正确的 )
*函数[[WordPress:WPMU Functions/get_sitestats|get_sitestats]] ()
*函数[[WordPress:WPMU Functions/get_user_details|get_user_details]] ( $username )
*函数[[WordPress:WPMU Functions/get_user_id_from_string|get_user_id_from_string]] ( $string )
*函数[[WordPress:WPMU Functions/insert_blog|insert_blog]] ($domain, $path, $site_id)
*函数[[WordPress:WPMU Functions/install_blog|install_blog]] ($blog_id, $blog_title = '')
*函数[[WordPress:WPMU Functions/install_blog_defaults|install_blog_defaults]] ($blog_id, $user_id)
*函数[[WordPress:WPMU Functions/is_archived|is_archived]] ( $id )
*函数[[WordPress:WPMU Functions/is_blog_user|is_blog_user]] ( $blog_id = 0 )
*函数[[WordPress:WPMU Functions/is_email_address_unsafe|is_email_address_unsafe]] ( $user_email )
*函数[[WordPress:WPMU Functions/is_site_admin|is_site_admin]] ( $user_login = false )
*函数[[WordPress:WPMU Functions/is_user_member_of_blog|is_user_member_of_blog]] ( $user_id, $blog_id = 0 )
*函数[[WordPress:WPMU Functions/load_muplugin_textdomain|load_muplugin_textdomain]] ($domain, $path = false)
*函数[[WordPress:WPMU Functions/refresh_blog_details|refresh_blog_details]] ( $id )
*函数[[WordPress:WPMU Functions/remove_user_from_blog|remove_user_from_blog]] ($user_id, $blog_id = '')
*函数[[WordPress:WPMU Functions/restore_current_blog|restore_current_blog]] ()
*函数[[WordPress:WPMU Functions/switch_to_blog|switch_to_blog]] ( $new_blog )
*函数[[WordPress:WPMU Functions/update_archived|update_archived]] ( $id, $archived )
*函数[[WordPress:WPMU Functions/update_blog_option|update_blog_option]] ( $id, $key, $value, $refresh = true )
*函数[[WordPress:WPMU Functions/update_blog_status|update_blog_status]] ( $id, $pref, $value, $refresh = 1 )
*函数[[WordPress:WPMU Functions/update_site_option|update_site_option]] ( $key, $value )
*函数[[WordPress:WPMU Functions/validate_email|validate_email]] ( $email, $check_domain = true)
*函数[[WordPress:WPMU Functions/wpmu_activate_signup|wpmu_activate_signup]] ($key)
*函数[[WordPress:WPMU Functions/wpmu_admin_do_redirect|wpmu_admin_do_redirect]] ( $url = '' )
*函数[[WordPress:WPMU Functions/wpmu_admin_redirect_add_updated_param|wpmu_admin_redirect_add_updated_param]] ( $url = '' )
*函数[[WordPress:WPMU Functions/wpmu_admin_redirect_url|wpmu_admin_redirect_url]] ()
*函数[[WordPress:WPMU Functions/wpmu_checkAvailableSpace|wpmu_checkAvailableSpace]] ($action)
*函数[[WordPress:WPMU Functions/wpmu_create_blog|wpmu_create_blog]] ($domain, $path, $title, $user_id, $meta = '', $site_id = 1)
*函数[[WordPress:WPMU Functions/wpmu_create_user|wpmu_create_user]] ( $user_name, $password, $email)
*函数[[WordPress:WPMU Functions/wpmu_signup_blog|wpmu_signup_blog]] ($domain, $path, $title, $user, $user_email, $meta = '')
*函数[[WordPress:WPMU Functions/wpmu_signup_blog_notification|wpmu_signup_blog_notification]] ($domain, $path, $title, $user, $user_email, $key, $meta = '')
*函数[[WordPress:WPMU Functions/wpmu_signup_user|wpmu_signup_user]] ($user, $user_email, $meta = '')
*函数[[WordPress:WPMU Functions/wpmu_signup_user_notification|wpmu_signup_user_notification]] ($user, $user_email, $key, $meta = '')
*函数[[WordPress:WPMU Functions/wpmu_update_blogs_date|wpmu_update_blogs_date]] ()
*函数[[WordPress:WPMU Functions/wpmu_validate_blog_signup|wpmu_validate_blog_signup]] ($blog_id, $blog_title, $user = '')
*函数[[WordPress:WPMU Functions/wpmu_validate_user_signup|wpmu_validate_user_signup]] ($user_name, $user_email)
*函数[[WordPress:WPMU Functions/wpmu_welcome_notification|wpmu_welcome_notification]] ($blog_id, $user_id, $password, $title, $meta = '')
*函数[[WordPress:WPMU Functions/wpmu_welcome_user_notification|wpmu_welcome_user_notification]] ($user_id, $password, $meta = '')

2008年9月22日 (一) 15:14的版本

The following functions are additional to WPMU and constitute its API:

下面是添加到WPMU中的函数,这些函数组成了WPMU的API:

Many of the problems we face are because the software lacks good documentation. Please help by creating a page for each of these functions and tagging them with the WPMU category.

我们遇到的大多数问题的原因在于软件缺少好的文档。请为每个函数创建一个页面并且使用WPMU类别标记。