is_upload_space_available(): bool

In this article

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

Return

bool True if space is available, false otherwise.

Source

 * @since MU (3.0.0)
 *
 * @return int Quota in megabytes.
 */
function get_space_allowed() {
	$space_allowed = get_option( 'blog_upload_space' );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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