I'm trying to figure out how to link a logged-in user to his profile settings, but I can't seem to find a function that generates this link (like wp_settings_url() or wp_profile_url())
Is there a default function for this?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
The user edit page of the current user is |
|||||
|
|
Combination of other answers:
I'm using this on author.php, that's why I've already got the user ID on the page. That way an admin gets a link to edit that user's profile rather than their own. |
|||
|
|
|
Possibly something like this?
|
|||||
|