Uses
Uses | Description |
---|---|
wp-admin/includes/ms.php: upload_is_user_over_quota() | Check whether a site has used its allotted upload space. |
Check if user has exceeded disk quota
(bool)
File: wp-admin/includes/class-wp-importer.php
public function is_user_over_quota() { if ( function_exists( 'upload_is_user_over_quota' ) ) { if ( upload_is_user_over_quota() ) { return true; } } return false; }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_importer/is_user_over_quota