The filter hook edit_profile_url
does that. It returns the URL and provides the User ID so you can use it for some customization of the new URL.
add_filter( 'edit_profile_url', 'modify_profile_url_wpse_94075', 10, 3 );
/**
* http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/link-template.php#L2284
*
* @param string $scheme The scheme to use.
* Default is 'admin'. 'http' or 'https' can be passed to force those schemes.
*/
function modify_profile_url_wpse_94075( $url, $user_id, $scheme )
{
// Makes the link to http://example.com/custom-profile
$url = site_url( '/custom-profile' );
return $url;
}
Q&A of interest: Where to put my code: plugin or functions.php?
Related Posts:
- How to remove Biography from user profile admin page
- Integrate WordPress and bbpress profiles?
- Remove Personal Options section from Profile
- Removing “Website” Field from the contact info
- How to disable profile.php for users?
- How to change profile picture in wordpress?
- Replace Gravatar with uploaded images?
- How to create a edit profile page for users?
- How do you make the email field on the profile page read only for subscribers?
- How do I remove the ‘Show Toolbar’ option?
- remove admin bar show hide option from profile settings
- displaying custom code on a given users profile page
- Make user profile field required
- How to Get User Profile Info on a Category Page
- Best way to change profile page
- The “Profile Picture” section just disappeared from my User Profile
- Fields in User Profile Page
- WP Use Profile Fields is missing
- user-edit.php profile options on TABS
- Using the filters in wordpress theme [closed]
- How display Last modified in profile wordpress [closed]
- Custom Profile Field for
- Add and Remove fields in Profile page
- Removing Fields From the Profile Page of Theme My Login Plugin
- Get WordPress author link by ID
- Add a link back to site on ‘edit profile’ page for users?
- What is the php function for “user’s public profile”
- Replace a specific profile field
- How to change name “Profile”
- Did something change in regards to custom profile fields in WP 4.8.2 (mine have disappeared)?
- Implementing profile page in wordpress
- How to remove unwanted section in profile page for only users?
- allowing user to add content, photos without giving access
- Does WP “out-of-the-box” allow user profile photos? [duplicate]
- Update user from external script
- Renaming profile sections
- Renaming/translating “your profile” page
- Is possible to modify user_login after registration?
- get current user password on the profile edit page
- Edit profile fields with TML
- How to create a profile page for users?
- Remove Personal Options section only from subscribers profile
- Extra profile field as select box?
- Allow Profile HTML for select users
- How to get profile user id when uploading image via media uploader on profile page
- How to create user personal pages with information from their meta profile fields?
- Creating distinct pages for author profiles and lists of posts by author
- How to add a checkbox to registration and user profile?
- Adding HTML/Text to Top of Subscriber’s Profile Backend Page
- How to display public user profile with 2 additional fields? (GitHub source code included)
- Remove /author/ from the author profile url
- AJAX action not triggering PHP function
- Cannot set user passwords
- BuddyPress | How to merge the “setting” & “profile” pages into one page? [closed]
- Saving custom profile fields
- How to upload user profile image from frontend in wordpress ?
- Comments do not respect display_name setting, how to make plugin to overcome this
- How to link to the current User/Author Profile page?
- Display custom fields in frontside user profile
- Can you use the buddypress profile system without installing the whole of buddypress? [closed]
- How to retrieve current wordpress profile page URL?
- User profile updates password even if not filled (Theme my login) in Firefox? [closed]
- why there is a large file named core in wpmu’s directory?
- Prevent subscribers to changing certain profile fields
- Is author.php a core file?
- Creating User Profiles using author.php
- Change avatar on themed profile page
- How do I change the image from the default mysteryman in the WP Profile page
- Solving a get_user_meta() problem in Multisite
- In Multisite the users profile picture keeps disappearing for “the other site”
- How to order custom fields in the user profile (admin area)
- Add Link to Users List (Backend) to open each users front-end profile
- How can I create a profile field group that the user can’t see?
- Showing user profile data on front-end
- SQL Query members by profile fields Buddypress [closed]
- Filter to remove the default password on “Your Profile” page
- How to read and write session data?
- Use a custom page with dynamic content as a user profile page
- How to display extra fields for user
- how to create user profile pages and display them based on users roles
- How can i display pagination in custom comment list?
- Following/Followers Users list Using Ajax Pagination inside Author Profile
- Which membership plugin enables users to enter html links in blogs and on their profile page?
- want to add video upload option for front end user
- admin can not change author profile picture
- Showing extra profile fields in admin – problem with underscore
- How to get author developer link on plugin page
- Add an ‘edit profile’ page with Genesis
- How to create a link to a user’s profile page
- Validate user meta and redirect
- Storing additional information about the user
- Why is $_POST Empty in Profile Edit Admin?
- how do you point ‘screen_function’ to a function in the same class? [closed]
- Profile Field In Admin Bar
- Need edit profile link in the menu for logged in users
- Disable editing profile for second time
- What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker
- Cant edit profile from frontend
- Get_avatar filter hook not displaying custom avatar image on frontend
- Tips on using a custom template with Ultimate Member