WordPress开发者和主题制作者的搜索引擎



is_upload_space_available ›

Since3.0.0
已弃用n/a
is_upload_space_available ( 没有参数 )
返回:
  • (bool) True if space is available, false otherwise.
定义在:
文档:

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();
}