W3cubDocs

/WordPress

WP_Importer::is_user_over_quota()

Check if user has exceeded disk quota

Return

(bool)

Source

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