Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get dirsize

This page redirects to an external site: https://developer.wordpress.org/reference/functions/get_dirsize/

Description

Get the size of a directory.

A helper function that is used primarily to check whether a blog has exceeded its allowed upload space.

Usage

<?php get_dirsize$directory ); ?>

Parameters

$directory
(string) (required)
Default: None

Return Values

(int) 

Source File

get_dirsize() is located in wp-includes/ms-functions.php