get_edit_user_link WordPress Filter Hook
The get_edit_user_link hook is used to retrieve the edit user link for a given user. This can be useful for customizing the edit user interface or for displaying the edit user link in a custom location.
apply_filters( 'get_edit_user_link', string $link , int $user_id ) #
Filters the user edit link.
Parameters
- $link
(string)The edit link.
- $user_id
(int)User ID.
Source
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |