multisite_over_quota_message

Displays the out of storage quota message in Multisite.

Description

multisite_over_quota_message(); 

Usage

  1. if ( !function_exists( 'multisite_over_quota_message' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/media.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = multisite_over_quota_message(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/media.php  
  1. function multisite_over_quota_message() { 
  2. echo '<p>' . sprintf( __( 'Sorry, you have used all of your storage quota of %s MB.' ), get_space_allowed() ) . '</p>';