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



thread_comments_depth_max › WordPress过滤钩子

Since2.7.0
已弃用n/a
apply_filters( 'thread_comments_depth_max', 10 )
参数:
  • (int) $max_depth The maximum depth of threaded comments. Default 10.
    Required: Yes
定义在:
文档:

Filters the maximum depth of threaded/nested comments.





源码

$maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 );