- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Tag User Register Link
Tag User Register Link
This template tag displays registration link.
Example
user_register_link( $before = '', $after = '', $link_text = '', $link_title = '#', $disp_when_logged_in = false );
Parameters
- Name: before
- Default: (no space)
- Usage: Displayed before link.
- Name: after
- Default: (no space)
- Usage: Displayed after link.
- Name: link_text
- Default: (no space)
- Usage: If ‘link_text’ is empty then default link text will be displayed.
- Name: link_title
- Default: ‘#’
- Usage: If ‘link_title’ is ‘#’ then it displays default title instead it displays ‘link_title’ value.
- Name: disp_when_logged_in
- Default: false
- Usage: Don’t display registration link, if user is logged in.
Return value
This tag displays content only, it does not have a return value.