WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/upload is user over quota

Description

Check whether a blog has used its allotted upload space.

Usage

 <?php upload_is_user_over_quota$echo ?> 

Parameters

$echo
(boolean) (optional) If $echo is set and the quota is exceeded, a warning message is echoed.
Default: true

Return Value

(boolean) 
False if quota has not been exceeded or upload quota is disabled, True otherwise.

Examples

Default Usage

Change Log

Source File

upload_is_user_over_quota() is located in wp-admin/includes/ms.php

Related