apply_filters( ‘thread_comments_depth_max’, int $max_depth )

In this article

Filters the maximum depth of threaded/nested comments.

Parameters

$max_depthint
The maximum depth of threaded comments. Default 10.

Source

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

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.