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.


Top ↑

Source Source

File: bp-activity/bp-activity-template.php

function bp_activity_comment_depth( $comment = 0 ) {
	echo bp_activity_get_comment_depth( $comment );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Added $comment as a parameter.
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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