edit_profile_url WordPress Filter Hook
The edit_profile_url Wordpress hook allows you to change the URL of the edit profile page. This can be useful if you want to use a custom page for editing profiles.
apply_filters( 'edit_profile_url', string $url , int $user_id , string $scheme ) #
Filters the URL for a user’s profile editor.
Parameters
- $url
(string)The complete URL including scheme and path.
- $user_id
(int)The user ID.
- $scheme
(string)Scheme to give the URL context. Accepts 'http', 'https', 'login', 'login_post', 'admin', 'relative' or null.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |