Function: user_can_edit_user

user_can_edit_user( integer $user_id, integer $other_user )

Can user can edit other user.

Parameters

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

Returns

boolean

WordPress Developer Newsletter

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