get_upload_space_available

函数


get_upload_space_available ( No parameters )
返回值
  • (int) of upload space available in bytes
定义位置
  • wp-includes/ms-functions.php
    , line 2576
引入
3.0.0
弃用

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

function get_upload_space_available() {
	$allowed = get_space_allowed();
	if ( $allowed