apply_filters( 'bp_core_get_userid_from_nicename', int|null $value, string $user_nicename )

Filters the user ID based on user_nicename.

Description

Parameters

$value

(int|null) ID of the user or null.

$user_nicename

(string) User nicename to check.

Source

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

Changelog

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