Un motore di ricerca WordPress per sviluppatori e autori di temi



wpmu_checkavailablespace ›

Dan/a
Deprecato3.0.0
wpmu_checkavailablespace ( Nessun parametro )
Vedi:
Definito a:
Codex:

Determines if the available space defined by the admin has been exceeded by the user.



Sorgenti

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 )
		) );
	}
}