Title: edit_profile_url
Published: April 25, 2014
Last modified: May 20, 2026

---

# apply_filters( ‘edit_profile_url’, string $url, int $user_id, string $scheme )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#wp--skip-link--target)

Filters the URL for a user’s profile editor.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#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](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#source)󠁿

    ```php
    return apply_filters( 'edit_profile_url', $url, $user_id, $scheme );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/link-template.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/link-template.php#L4053)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L4053-L4053)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#related)󠁿

| Used by | Description | 
| [get_edit_profile_url()](https://developer.wordpress.org/reference/functions/get_edit_profile_url/)`wp-includes/link-template.php` |

Retrieves the URL to the user’s profile editor.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/edit_profile_url/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.1.0](https://developer.wordpress.org/reference/since/3.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fedit_profile_url%2F)
before being able to contribute a note or feedback.