[ Index ]

WordPress Cross Reference

title

Body

[close]

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

Multisite administration functions.

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

Defines 24 functions

  check_upload_size()
  wpmu_delete_blog()
  wpmu_delete_user()
  update_option_new_admin_email()
  send_confirmation_on_profile_email()
  new_user_email_admin_notice()
  upload_is_user_over_quota()
  display_space_usage()
  fix_import_form_size()
  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()
  site_admin_notice()
  avoid_blog_page_permalink_collision()
  choose_primary_blog()
  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

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

upload_is_user_over_quota( $echo = true )   X-Ref
Check whether a blog has used its allotted upload space.

param: bool $echo Optional. If $echo is set and the quota is exceeded, a warning message is echoed. Default is true.
return: int

display_space_usage()   X-Ref
Displays the amount of disk space used by the current blog. Not used in core.


fix_import_form_size( $size )   X-Ref
Get the remaining upload space for this blog.

param: int $size Current max size in bytes
return: int Max size in bytes

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

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

grant_super_admin( $user_id )   X-Ref
Grants Super Admin privileges.

param: int $user_id ID of the user to be granted Super Admin privileges.

revoke_super_admin( $user_id )   X-Ref
Revokes Super Admin privileges.

param: int $user_id ID of the user Super Admin privileges to be revoked from.

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: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu