WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/upload is user over quota

Contents

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