wp_register ( $before = '<li>', $after = '</li>', $display = true )

  • (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.
  • (void|string) Void if `$display` argument is true, registration or admin link if `$display` is false.
Defined at:


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.

Related Functions

wp_register_style, wp_register_script, wp_deregister_style, wp_reset_query, wp_deregister_script

Top Google Results

User discussions

wpseek mobile