wp_register
wp_register ( $before = '<li>', $after = '</li>', $display = true )
Parameters:- (string) before Text to output before the link. Default `<li>`.
- (string) after Text to output after the link. Default `</li>`.
- (bool) display Default to echo and not return the link.
Returns:- (void|string) Void if `$display` argument is true, registration or admin link if `$display` is false.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Displays 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.