Function: get_edit_user_link

get_edit_user_link( integer $user_id )

Retrieves the edit user link.

Parameters

Name Type(s) Default Value Description
$user_id integer null

Optional. User ID. Defaults to the current user.

Returns

string

URL to edit user page or empty string.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.