WordPress.org

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Plugin API/Filter Reference/edit profile url

Description

edit_profile_url filters the URL for a user's profile editor.

This filter is part of the get_edit_profile_url() function.

Parameters

$url
(string) (required) The complete URL including scheme and path.
Default: http://example.com/wp-admin/user-edit.php
$user_id
(int) (optional) The user ID.
Default: None
$scheme
(string) (optional) Scheme to give the URL context. Accepts 'http', 'https', 'login', 'login_post', 'admin', 'relative' or null.
Default: http or https

Change Log

Since: 3.1

Source File

edit_profile_url is located in wp-includes/link-template.php

Related