bp_activity_get_comments( string $args = '' )

Get the comment markup for an activity item.

Description

Parameters

$args

(string) (Optional) Unused. Left over from an earlier implementation.

Default value: ''

Return

(bool)

Source

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

	function bp_activity_get_comments( $args = '' ) {
		global $activities_template;

		if ( empty( $activities_template->activity->children ) ) {
			return false;
		}

		bp_activity_recurse_comments( $activities_template->activity );
	}

Changelog

Changelog
Version Description
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.