wpmu_validate_blog_signup

The WordPress Core wpmu validate blog signup hook.

Description

add_filter( 'wpmu_validate_blog_signup', (string) $signup_nonce_check ); 

Parameters (1)

0. $signup_nonce_check (string) => 'signup_nonce_check'
The signup nonce check.

Usage

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

Defined (2)

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

/wp-includes/ms-default-filters.php  
  1. add_filter( 'wpmu_validate_blog_signup', 'signup_nonce_check' ); 
/wp-includes/ms-functions.php  
  1. return apply_filters( 'wpmu_validate_blog_signup', $result );