upload_is_user_over_quota
upload_is_user_over_quota ( $display_message = true )
Parameters:- (bool) display_message Optional. If set to true and the quota is exceeded, a warning message is displayed. Default true.
Returns:- (bool) True if user is over upload space quota, otherwise false.
Defined at:Change Log: - Introduced in WordPress: —
- Deprecated in WordPress: —
Description
Checks whether a site has used its allotted upload space.