wp_register
wp_register ( $before = '<li>', $after = '</li>', $echo = true )
Parameters:- (string) before Text to output before the link. Default `<li>`.
- (string) after Text to output after the link. Default `</li>`.
- (bool) echo Default to echo and not return the link.
Returns:- (void|string) Void if `$echo` argument is true, registration or admin link if `$echo` is false.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Display the Registration or Admin link.Display a link which allows the user to navigate to the registration page if
not logged in and registration is enabled or to the dashboard if logged in.