Description
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.
Return Values
(string) The URL of the login page.
Examples
Create a link to the login page:
Use wpmem_current_url() to compare the current page:
Changelog
Introduced in version 3.1.1
Source
wpmem_login_url() is located in /includes/api/api.php.