apply_filters( 'bp_activity_recurse_comment_count', int $new_count, object $comment, int $count )

Filters the total number of comments for the current comment.

Description

Parameters

$new_count

(int) New total count for the current comment.

$comment

(object) Activity comment object.

$count

(int) Current iteration count for the current comment.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.1.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.