bbp_current_user_id()

Output ID of current user

Description

Source

File: bp-forums/users/template.php

function bbp_current_user_id() {
	echo bbp_get_current_user_id();
}

Changelog

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