wp_signup_location filter-hookWP 3.0.0

Filters the Multisite sign up URL.

Usage

add_filter( 'wp_signup_location', 'wp_kama_signup_location_filter' );

/**
 * Function for `wp_signup_location` filter-hook.
 * 
 * @param string $sign_up_url The sign up URL.
 *
 * @return string
 */
function wp_kama_signup_location_filter( $sign_up_url ){

	// filter...
	return $sign_up_url;
}
$sign_up_url(string)
The sign up URL.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-login.php
wp_signup_location
wp-login.php 1026
wp_redirect( apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) );
wp-includes/canonical.php 534
$redirect_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
wp-admin/my-sites.php 72
$sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );

Where the hook is used in WordPress

Usage not found.