bp_activity_comment_depth( object|int $comment )
Output the depth of the current activity comment.
Description Description
Parameters Parameters
- $comment
-
(Required) Object of the activity comment or activity comment ID. Usually unnecessary when used in activity comment loop.
Source Source
File: bp-activity/bp-activity-template.php
function bp_activity_comment_depth( $comment = 0 ) { echo bp_activity_get_comment_depth( $comment ); }
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Added $comment as a parameter. |
2.0.0 | Introduced. |