wp_registration_url(): string

Returns the URL that allows the user to register on the site.

Return

string User registration URL.

Source

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' ) );
}

Hooks

apply_filters( ‘register_url’, string $register )

Filters the user registration URL.

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.