register_url filter-hookWP 3.6.0

Filters the user registration URL.

Usage

add_filter( 'register_url', 'wp_kama_register_url_filter' );

/**
 * Function for `register_url` filter-hook.
 * 
 * @param string $register The user registration URL.
 *
 * @return string
 */
function wp_kama_register_url_filter( $register ){

	// filter...
	return $register;
}
$register(string)
The user registration URL.

Changelog

Since 3.6.0 Introduced.

Where the hook is called

wp_registration_url()
register_url
wp-includes/general-template.php 477
return apply_filters( 'register_url', site_url( 'wp-login.php?action=register', 'login' ) );

Where the hook is used in WordPress

Usage not found.