WordPress.org

Ready to get started?Download WordPress

Codex

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

Function Reference/recurse dirsize

This page is marked as incomplete. You can help Codex by expanding it.

Description

Get the size of a directory recursively.

Used by get_dirsize() to get a directory's size when it contains other directories.

Usage

<?php recurse_dirsize$directory ); ?>

Parameters

$directory
(string) (required) Directory to recurse
Default: None

Return Value

(integer) 
The size of the directory

Examples


Notes

Change Log

Since: MU

Source File

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

Related

 

See also index of Function Reference and index of Template Tags.