W3cubDocs

/WordPress

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_usedint|false
The amount of used space, in megabytes. Default false.

Source

$space_used = apply_filters( 'pre_get_space_used', false );

Changelog

Version Description
3.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_get_space_used