pre_get_space_used

过滤钩子


apply_filters( 'pre_get_space_used', false )
参数
  • (int|false)
    $space_used
    The amount of used space, in megabytes. Default false.
    Required:
定义位置
  • wp-includes/ms-functions.php
    , line 2531
引入
3.5.0
弃用

Filters the amount of storage space used by the current site, in megabytes.

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