bbp_user_post_count( int $user_id, boolean $integer = false )

Output a users total post count

Description

Parameters

$user_id

(Required)

$integer

(Optional) Whether or not to format the result

Default value: false

Return

(string)

Source

File: bp-forums/users/options.php

function bbp_user_post_count( $user_id = 0, $integer = false ) {
	echo bbp_get_user_post_count( $user_id, $integer );
}

Changelog

Changelog
Version Description
bbPress (r3632) 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.