bp_activity_comment_content, $r[content], new

bp_activity_comment_content, $r[content], new

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: buddypress.14.5.2

apply_filters('bp_activity_comment_content, $r[content], new') is found 1 times:

  • /bp-activity/bp-activity-functions.php line 2871
    	 *
    	 * @param string $r       Content for the newly posted comment.
    	 * @param string $context This filter's context ("new").
    	 */
    	$comment_content = apply_filters( 'bp_activity_comment_content', $r['content'], 'new' );
    
    	// Insert the activity comment.
    	$comment_id = bp_activity_add( array(
    		'id'                => $r['id'],
    		'content'           => $comment_content,
    		'component'         => $bp->activity->id,