[ XREF Home ] [ Index ]

PHP Cross Reference of WordPress Trunk

Provided by Yoast

title

Body

[close]

/wp-admin/includes/ -> ms.php (summary)

Multisite administration functions.

File Size: 778 lines (28 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 30 functions

  check_upload_size()
  wpmu_delete_blog()
  wpmu_delete_user()
  wpmu_get_blog_allowedthemes()
  update_option_new_admin_email()
  send_confirmation_on_profile_email()
  new_user_email_admin_notice()
  get_site_allowed_themes()
  is_upload_space_available()
  upload_size_limit_filter()
  get_upload_space_available()
  get_space_allowed()
  display_space_usage()
  upload_space_setting()
  update_user_status()
  refresh_user_details()
  format_code_lang()
  sync_category_tag_slugs()
  _access_denied_splash()
  check_import_new_users()
  mu_dropdown_languages()
  secret_salt_warning()
  site_admin_notice()
  avoid_blog_page_permalink_collision()
  choose_primary_blog()
  ms_deprecated_blogs_file()
  grant_super_admin()
  revoke_super_admin()
  can_edit_network()
  _thickbox_path_admin_subfolder()

Functions
Functions that are not part of a class:

check_upload_size( $file )   X-Ref
Determine if uploaded file exceeds space quota.

param: array $file $_FILES array for a given file.
return: array $_FILES array with 'error' key set if file exceeds quota. 'error' is empty otherwise.

wpmu_delete_blog( $blog_id, $drop = false )   X-Ref
Delete a blog

param: int $blog_id Blog ID
param: bool $drop True if blog's table should be dropped.  Default is false.
return: void

wpmu_delete_user( $id )   X-Ref
No description

wpmu_get_blog_allowedthemes( $blog_id = 0 )   X-Ref
No description

update_option_new_admin_email( $old_value, $value )   X-Ref
No description

send_confirmation_on_profile_email()   X-Ref
No description

new_user_email_admin_notice()   X-Ref
No description

get_site_allowed_themes()   X-Ref
No description

is_upload_space_available()   X-Ref
Determines if there is any upload space left in the current blog's quota.

return: bool True if space is available, false otherwise.

upload_size_limit_filter( $size )   X-Ref

return: int of upload size limit in bytes

get_upload_space_available()   X-Ref
Determines if there is any upload space left in the current blog's quota.

return: int of upload space available in bytes

get_space_allowed()   X-Ref
Returns the upload quota for the current blog.

return: int Quota

display_space_usage()   X-Ref
No description

upload_space_setting( $id )   X-Ref
No description

update_user_status( $id, $pref, $value, $deprecated = null )   X-Ref
No description

refresh_user_details( $id )   X-Ref
No description

format_code_lang( $code = '' )   X-Ref
No description

sync_category_tag_slugs( $term, $taxonomy )   X-Ref
No description

_access_denied_splash()   X-Ref
No description

check_import_new_users( $permission )   X-Ref
No description

mu_dropdown_languages( $lang_files = array()   X-Ref
No description

secret_salt_warning()   X-Ref
No description

site_admin_notice()   X-Ref
No description

avoid_blog_page_permalink_collision( $data, $postarr )   X-Ref
No description

choose_primary_blog()   X-Ref
No description

ms_deprecated_blogs_file()   X-Ref
No description

grant_super_admin( $user_id )   X-Ref
Grants super admin privileges.

param: int $user_id

revoke_super_admin( $user_id )   X-Ref
Revokes super admin privileges.

param: int $user_id

can_edit_network( $site_id )   X-Ref
Whether or not we can edit this network from this page

By default editing of network is restricted to the Network Admin for that site_id this allows for this to be overridden

param: integer $site_id The network/site id to check.

_thickbox_path_admin_subfolder()   X-Ref
Thickbox image paths for Network Admin.




Generated: Wed Jun 1 08:30:02 2011 Cross-referenced by PHPXref 0.7
Provided by Yoast and awesome WordPress Hosting