bbp_increase_user_topic_count( $topic_id )
Helper function used to increase (by one) the count of topics for a user when a topic is published.
Description Description
Parameters Parameters
- $topic_id
-
(Required)
- $forum_id
-
(Required)
- $anonymous_data
-
(Required)
- $topic_author
-
(Required)
Source Source
File: includes/users/functions.php
function bbp_increase_user_topic_count( $topic_id = 0 ) { $user_id = bbp_get_topic_author_id( $topic_id ); return bbp_bump_user_topic_count( $user_id, 1 ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |