thread_comments_depth_max

过滤钩子


apply_filters( 'thread_comments_depth_max', 10 )
参数
  • (int)
    $max_depth
    The maximum depth of threaded comments. Default 10.
    Required:
定义位置
  • wp-admin/options-discussion.php
    , line 107
引入
2.7.0
弃用

Filters the maximum depth of threaded/nested comments.

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