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

  • (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.
  • (string|void) String when retrieving.
Defined at:


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.

Related Functions

wp_register_style, wp_register_script, wp_deregister_style, wp_reset_query, wp_deregister_script

Top Google Results

User discussions

wpseek mobile