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.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More