wpseek.com
A WordPress-centric search engine for devs and theme authors



thread_comments_depth_max › WordPress Filter Hooks

Since2.7.0
Deprecatedn/a
apply_filters( 'thread_comments_depth_max', 10 )
Parameters:
  • (int) $max_depth The maximum depth of threaded comments. Default 10.
    Required: Yes
Defined at:
Codex:

Filters the maximum depth of threaded/nested comments.





Source

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