WordPress开发者和主题制作者的搜索引擎



pre_get_space_used ›

Since3.5.0
已弃用n/a
apply_filters( 'pre_get_space_used', false )
参数:
  • (int|bool) $space_used The amount of used space, in megabytes. Default false.
    Required: Yes
定义在:
文档:

Filters the amount of storage space used by the current site.





源码

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