函数原型
is_upload_space_available(): bool
函数描述
Determines if there is any upload space left in the current blog’s quota.
是否弃用
未弃用
函数参数
无
函数返回值
bool True if space is available, false otherwise.
函数位置
File: 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();
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |

