is_upload_space_available
Determines if there is any upload space left in the current blog's quota.
Description
is_upload_space_available();
Usage
if ( !function_exists( 'is_upload_space_available' ) ) { require_once ABSPATH . WPINC . '/ms-functions.php'; } // NOTICE! Understand what this does before running. $result = is_upload_space_available();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/ms-functions.php
- function is_upload_space_available() {
- if ( get_site_option( 'upload_space_check_disabled' ) )
- return true;
- return (bool) get_upload_space_available();
- }