Tag User Login Link
This template tag displays link to login
Example
user_login_link( $before = '', $after = '', $link_text = '', $link_title = '#' );
Parameters
- Name: before
- Default: (no space)
- Usage: Displayed before login link.
- Name: after
- Default: (no space)
- Usage: Displayed after login link.
- Name: link_text
- Default: (no space)
- Usage: If ‘link_text’ is empty then default text will be displayed.
- Name: link_title
- Default: ‘#’
- Usage: If ‘link_title’ is ‘#’ then it displays default title instead it displays ‘link_title’ value.
Return value
This function return false, if a user is logged in.
If user is not logged in then this function displays content.