is_upload_space_available

函数


is_upload_space_available ( No parameters )
返回值
  • (bool) True if space is available, false otherwise.
定义位置
  • wp-includes/ms-functions.php
    , line 2601
引入
3.0.0
弃用

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

function is_upload_space_available() {
	if ( get_site_option( 'upload_space_check_disabled' ) ) {
		return true;
	}

	return (bool) get_upload_space_available();
}