is_upload_space_available() – Determines if there is any upload space left in the current blog’s quota.

You appear to be a bot. Output may be restricted

Description

Determines if there is any upload space left in the current blog's quota.

Usage

$bool = is_upload_space_available();

Parameters

Returns

bool True if space is available, false otherwise.

Source

File name: wordpress/wp-includes/ms-functions.php
Lines:

1 to 7 of 7
function is_upload_space_available() {
  if ( get_site_option( 'upload_space_check_disabled' ) ) {
    return true;
  }

  return (bool) get_upload_space_available();
}
 

 View on GitHub View on Trac