Welcome, visitor! Log in
 

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 4.4.

Version File Line Type
3.5 wp-includes/ms-functions.php 1944 View hook in source filter
3.6 wp-includes/ms-functions.php 1902 View hook in source filter
3.7 wp-includes/ms-functions.php 1973 View hook in source filter
3.8 wp-includes/ms-functions.php 2278 View hook in source filter
3.9 wp-includes/ms-functions.php 2290 View hook in source filter
4.0 wp-includes/ms-functions.php 2288 View hook in source filter
4.1 wp-includes/ms-functions.php 2250 View hook in source filter
4.2 wp-includes/ms-functions.php 2247 View hook in source filter
4.3 wp-includes/ms-functions.php 2310 View hook in source filter
4.4 wp-includes/ms-functions.php 2281 View hook in source 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.