Filter hook 'add_signup_meta'

in WP Core File wp-signup.php at line 841

View Source

add_signup_meta

Filter Hook
Description
Validates new site signup.

Hook Information

File Location wp-signup.php View on GitHub
Hook Type Filter
Line Number 841

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into add_signup_meta
add_filter('add_signup_meta', 'my_custom_filter');

function my_custom_filter() {
    // Your custom filtering logic here
    return 'modified_value';
}

Source Code Context

wp-signup.php:841 - How this hook is used in WordPress core
<?php
 836  			}
 837  		}
 838  	}
 839  
 840  	/** This filter is documented in wp-signup.php */
 841  	$meta = apply_filters( 'add_signup_meta', $signup_meta );
 842  
 843  	wpmu_signup_blog( $domain, $path, $blog_title, $user_name, $user_email, $meta );
 844  	confirm_blog_signup( $domain, $path, $blog_title, $user_name, $user_email, $meta );
 845  	return true;
 846  }

PHP Documentation

<?php
/**
 * Validates new site signup.
 *
 * @since MU (3.0.0)
 *
 * @return bool True if the site sign-up was validated, false on error.
 */
Quick Info
  • Hook Type: Filter
  • Parameters: 0
  • File: wp-signup.php
Related Hooks

Related hooks will be displayed here in future updates.