Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_user_by_username()

Description

Retrieve user ID by username

Parameters

ColumnTypeDefaultDescription
$username string The username to search for

Return

mixed The matching user ID or false if not found

This article was last updated 1st March 2021 13:05 Europe/London time based on the source file dated 11th February 2021 16:30 Europe/London time.