Glossary Term
recurse_dirsize()
recurse_dirsize() — Gets the size of a directory recursively. Used by get_dirsize() to get a directory size when it contains other directories.
Inputs: $directory (string): Full path of a directory. $exclude (string|string[]): Optional. Full path of a subdirectory to exclude from the total, or array of paths. Expected without trailing slash(es). Default null. $max_execution_time (int): Optional. Maximum time to run before giving up. In seconds. The timeout is global and is measured from the moment WordPress started to load. Defaults to the value of max_execution_time PHP setting. $directory_cache (array): Optional. Array of cached directory paths. Defaults to the value of dirsize_cache transient.
Returns int|false|null: Size in bytes if a valid directory. False if not. Null if timeout.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
