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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_importer/is_user_over_quota