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



wp_max_autoloaded_option_size › WordPress过滤钩子

Since6.6.0
已弃用n/a
apply_filters( 'wp_max_autoloaded_option_size', 150000, $option )
参数: (2)
  • (int) $max_option_size The option-size threshold, in bytes. Default 150000.
    Required: Yes
  • (string) $option The name of the option.
    Required: Yes
定义在:
文档:

Filters the maximum size of option value in bytes.





源码

$max_option_size = (int) apply_filters( 'wp_max_autoloaded_option_size', 150000, $option );