apply_filters( 'bp_core_get_userid', int|null $value, string $username )

Filters the ID of a user, based on user_login.

Description

Parameters

$value

ID of the user or null.

$username

User login to check.

Source

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

Changelog

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