apply_filters( 'bp_loggedin_user_id', int $id )

Filters the ID of the currently logged-in user.

Description

Parameters

$id

(int) ID of the currently logged-in user.

Source

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

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.