wpseek.com
A WordPress-centric search engine for devs and theme authors



is_upload_space_available › WordPress Function

Since3.0.0
Deprecatedn/a
is_upload_space_available ( No parameters )
Returns:
  • (bool) True if space is available, false otherwise.
Defined at:
Codex:

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



Source

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

	return (bool) get_upload_space_available();
}