This function returns the login 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 login page), to output a link by echoing the result, or to redirect to the login page. These are just a few examples.
(string) The URL of the login page.
Create a link to the login page:
Use wpmem_current_url() to compare the current page:
Introduced in version 3.1.1
wpmem_login_url() is located in /inc/api.php.