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:

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.

Related Functions

wp_register_style, wp_register_script, wp_deregister_style, wp_register_sitemap, wp_reset_query

Top Google Results

User discussions

wpseek mobile