wpmu_checkAvailableSpace

Determines if the available space defined by the admin has been exceeded by the user.

Description

wpmu_checkAvailableSpace(); 

Usage

  1. if ( !function_exists( 'wpmu_checkAvailableSpace' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/ms-deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpmu_checkAvailableSpace(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/ms-deprecated.php  
  1. function wpmu_checkAvailableSpace() { 
  2. _deprecated_function(__FUNCTION__, '3.0.0', 'is_upload_space_available()' ); 
  3.  
  4. if ( !is_upload_space_available() ) 
  5. wp_die( __('Sorry, you must delete files before you can upload any more.') );