wpseek.com
A WordPress-centric search engine for devs and theme authors
wpmu_checkavailablespace is deprecated since version 3.0.0!
Alternative: is_upload_space_available()
Alternative: is_upload_space_available()
wpmu_checkavailablespace › WordPress Function
Sincen/a
Deprecated3.0.0
› wpmu_checkavailablespace ( No parameters )
See: | |
Defined at: |
|
Codex: |
Determines if the available space defined by the admin has been exceeded by the user.
Related Functions: wp_check_filetype, _wp_check_alternate_file_names, wp_checkdate, wpmu_create_user, wp_cache_replace
Source
function wpmu_checkAvailableSpace() { _deprecated_function( __FUNCTION__, '3.0.0', 'is_upload_space_available()' ); if ( ! is_upload_space_available() ) { wp_die( sprintf( /* translators: %s: Allowed space allocation. */ __( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ), size_format( get_space_allowed() * MB_IN_BYTES ) ) ); } }