bbp_increase_user_reply_count( $reply_id )

Helper function used to increase (by one) the count of replies for a user when a reply is published.


Description Description

This is a helper function, hooked to bbp_new_reply


Parameters Parameters

$topic_id

(Required)

$forum_id

(Required)

$anonymous_data

(Required)

$topic_author

(Required)


Top ↑

Source Source

File: includes/users/functions.php

function bbp_increase_user_reply_count( $reply_id = 0 ) {
	$user_id = bbp_get_reply_author_id( $reply_id );
	return bbp_bump_user_reply_count( $user_id, 1 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.