is_upload_space_available()

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


Return Return

(bool) True if space is available, false otherwise.


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.