thread_comments_depth_max WordPress Filter Hook
The thread_comments_depth_max hook is used to control the maximum depth of threaded comments. By default, threaded comments are limited to a depth of 10. This hook can be used to increase or decrease that limit.
apply_filters( 'thread_comments_depth_max', int $max_depth ) #
Filters the maximum depth of threaded/nested comments.
Contents
Parameters
- $max_depth
(int)The maximum depth of threaded comments. Default 10.
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |