bbp_decrease_user_reply_count( $reply_id )

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


Description Description


Parameters Parameters

$reply_id

(Required)


Top ↑

Source Source

File: includes/users/functions.php

function bbp_decrease_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.