wp_signup_location

This filter is documented in wp-login.php.

Description

apply_filters( 'wp_signup_location', (unknown) $network_site_url ); 

Parameters (1)

0. $network_site_url (unknown) => network_site_url( 'wp-signup.php' )
The network site url.

Usage

To run the hook, copy the example below.
  1. $network_site_url = apply_filters( 'wp_signup_location', $network_site_url ); 
  2.  
  3. if ( !empty( $network_site_url ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the wp_signup_location callback 
  2. function filter_wp_signup_location( $network_site_url ) { 
  3. // make filter magic happen here... 
  4. return $network_site_url
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'wp_signup_location', 'filter_wp_signup_location', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'wp_signup_location', 'filter_wp_signup_location', 10, 1 ); 

Defined (3)

The filter is defined in the following location(s).

/wp-admin/my-sites.php  
  1. $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); 
/wp-includes/canonical.php  
  1. $redirect_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); 
/wp-login.php  
  1. wp_redirect( apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) );