pre_get_space_used WordPress Filter Hook
This hook is called before the amount of disk space used is calculated. It is useful for customizing how much disk space is reported as being used.
apply_filters( 'pre_get_space_used', int|false $space_used ) #
Filters the amount of storage space used by the current site, in megabytes.
Parameters
- $space_used
(int|false)The amount of used space, in megabytes. Default false.
Source
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |