get_space_allowed

FUNCTION wp-includes\ms-functions.php (ligne 2590) github
Filters the amount of storage space used by the current site, in megabytes.

Paramètres

Entrée :
N/A
Sortie :
@param int|false $space_used The amount of used space, in megabytes. Default false.
@return int Quota in megabytes.

Utilisation

// Utilisation de la fonction get_space_allowed
$result = get_space_allowed();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...