WordPress.org

Codex

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

Function Reference/wp dashboard quota

Description

Display File upload quota on dashboard. It is hooked to the 'activity_box_end' action hook, and in multisite installs, displays the file upload quota at the bottom of the activity dashboard widget.

Usage

<?php wp_dashboard_quota(); ?>

Parameters

This function does not except any parameters.

Return Values

Counter-intuitively, this function returns true if the conditions to display the quota are not met. There is no return otherwise.

Examples

Notes

Change Log

Since: 3.1.0

Source File

wp_dashboard_quota() is located in wp-admin/includes/dashboard.php. Prior to 3.1.0, it was located in wp-admin/includes/ms.php, and named dashboard_quota().

See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.