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.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More