bp_activity_new_comment_notification_helper( int $comment_id, array $params )

Helper method to map action arguments to function parameters.

Description

Parameters

$comment_id

(int) (Required) ID of the comment being notified about.

$params

(array) (Required) Parameters to use with notification.

Source

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

function bp_activity_new_comment_notification_helper( $comment_id, $params ) {
	bp_activity_new_comment_notification( $comment_id, $params['user_id'], $params );
}

Changelog

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