get_edit_profile_url

SummerySummery

Retrieves the URL to the user’s profile editor.

Syntax

get_edit_profile_url( int $user_id, string $scheme = 'admin' )

ParametersParameters

$user_id

(int) (Optional) User ID. Defaults to current user.

$scheme

(string) (Optional) The scheme to use. Default is 'admin', which obeys force_ssl_admin() and is_ssl(). 'http' or 'https' can be passed to force those schemes.

Default value: 'admin'

ReturnReturn

(string) Dashboard URL link with optional path appended.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
3.1.0 Introduced.
Scroll to Top