This function returns the user profile page url (if one is set in the main options tab).
The function does not echo output. Since it returns a string, this can be used for comparisons (to see if the user is actually on the user profile page), to output a link by echoing the result, or to redirect to the user profile page. These are just a few examples.
(string)(optional) The WP-Members action variable, generally used to display the profile page forgot password dialog (‘pwdreset’).
(string) The URL of the user profile page.
Create a link to the user profile page:
Use wpmem_current_url() to compare the current page:
Introduced in version 3.1.1
wpmem_profile_url() is located in /inc/api.php