apply_filters( 'bp_activity_comment_content', string $content, string $context )

Filters the content of the current activity comment.

Description

Parameters

$content

(string) The content of the current activity comment.

$context

(string) This filter's context ("get").

Source

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

Changelog

Changelog
Version Description
BuddyPress 3.0.0 Added $context parameter to disambiguate from bp_get_activity_comment_content(). BuddyPress 3.0.0 Added $context parameter to disambiguate from bp_get_activity_comment_content().
BuddyPress 1.2.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.