wp_registration_url

The timeline below displays how wordpress function wp_registration_url has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Returns the URL that allows the user to register on the site.
 *
 * @since 3.6.0
 *
 * @return string User registration URL.
 */
function wp_registration_url()
{
    /**
     * Filters the user registration URL.
     *
     * @since 3.6.0
     *
     * @param string $register The user registration URL.
     */
    return apply_filters('register_url', site_url('wp-login.php?action=register', 'login'));
}

WordPress Version: 4.3

/**
 * Returns the URL that allows the user to register on the site.
 *
 * @since 3.6.0
 *
 * @return string User registration URL.
 */
function wp_registration_url()
{
    /**
     * Filter the user registration URL.
     *
     * @since 3.6.0
     *
     * @param string $register The user registration URL.
     */
    return apply_filters('register_url', site_url('wp-login.php?action=register', 'login'));
}

WordPress Version: 4.1

/**
 * Returns the user registration URL.
 *
 * Returns the URL that allows the user to register on the site.
 *
 * @since 3.6.0
 *
 * @return string User registration URL.
 */
function wp_registration_url()
{
    /**
     * Filter the user registration URL.
     *
     * @since 3.6.0
     *
     * @param string $register The user registration URL.
     */
    return apply_filters('register_url', site_url('wp-login.php?action=register', 'login'));
}

WordPress Version: 3.9

/**
 * Returns the user registration URL.
 *
 * Returns the URL that allows the user to register on the site.
 *
 * @since 3.6.0
 *
 * @uses site_url() To generate the registration URL.
 *
 * @return string User registration URL.
 */
function wp_registration_url()
{
    /**
     * Filter the user registration URL.
     *
     * @since 3.6.0
     *
     * @param string $register The user registration URL.
     */
    return apply_filters('register_url', site_url('wp-login.php?action=register', 'login'));
}

WordPress Version: 3.7

/**
 * Returns the user registration URL.
 *
 * Returns the URL that allows the user to register on the site.
 *
 * @since 3.6.0
 * @uses site_url() To generate the registration URL.
 * @uses apply_filters() calls 'register_url' hook on final URL.
 *
 * @return string
 */
function wp_registration_url()
{
    return apply_filters('register_url', site_url('wp-login.php?action=register', 'login'));
}