Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
pre_get_space_used

Description

Applied to the get_space_used() function to provide an alternative way of displaying storage space used. Returning false from this filter will revert to default display behavior (used wp_upload_dir() directory space in megabytes).

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for pre_get_space_used

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
3.5 wp-includes/ms-functions.php 1944 View in context filter
3.6 wp-includes/ms-functions.php 1902 View in context filter
3.7 wp-includes/ms-functions.php 1973 View in context filter
3.8 wp-includes/ms-functions.php 2278 View in context filter
3.9 wp-includes/ms-functions.php 2290 View in context filter
4.0 wp-includes/ms-functions.php 2288 View in context filter
4.1 wp-includes/ms-functions.php 2250 View in context filter
4.2 wp-includes/ms-functions.php 2247 View in context filter
4.3 wp-includes/ms-functions.php 2310 View in context filter
4.4 wp-includes/ms-functions.php 2281 View in context filter
4.5 wp-includes/ms-functions.php 2288 View in context filter
4.6 wp-includes/ms-functions.php 2306 View in context filter
4.7 wp-includes/ms-functions.php 2347 View in context filter
4.8 wp-includes/ms-functions.php 2404 View in context filter
4.9 wp-includes/ms-functions.php 2423 View in context filter
5.0 wp-includes/ms-functions.php 2423 View in context filter
5.1 wp-includes/ms-functions.php 2479 View in context filter

Related Hooks

We find related hooks using word stems. pre_get_space_used has 2 significant word stem(s): space, used. Note that some of the hooks below may not appear in all versions of WP.