bp_current_user_id()

Alias of {@link bp_displayed_user_id()}.

Description

Source

File: bp-members/bp-members-template.php

function bp_current_user_id() { return bp_displayed_user_id(); }

Changelog

Changelog
Version Description
BuddyPress 1.0.0 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.