WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp registration url

Description

This Template Tag returns the URL that allows users to register for the site.

Usage

 <?php echo wp_registration_url(); ?> 

Return

(string) 
The URL that allows users to register for the site.

Example

<a href="<?php echo wp_registration_url(); ?>">Register</a>

Notes

Change Log

Source File

wp_registration_url() is located in wp-includes/general-template.php.

Related

Login Tags: is_user_logged_in(), wp_login_form(), wp_loginout(), wp_logout(), wp_register()
Login URLs: wp_login_url(), wp_logout_url(), wp_lostpassword_url(), wp_registration_url()

See also index of Function Reference and index of Template Tags.