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



pre_get_space_used › WordPress过滤钩子

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

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





源码

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