WP_Importer::is_user_over_quota() – Check if user has exceeded disk quota

You appear to be a bot. Output may be restricted

Description

Check if user has exceeded disk quota

Usage

$bool = WP_Importer::is_user_over_quota();

Parameters

Returns

bool

Source

File name: wordpress/wp-admin/includes/class-wp-importer.php
Lines:

1 to 9 of 9
  public function is_user_over_quota() {
    if ( function_exists( 'upload_is_user_over_quota' ) ) {
      if ( upload_is_user_over_quota() ) {
        return true;
      }
    }

    return false;
  }
 

 View on GitHub View on Trac