signup_site_meta filter-hookWP 4.8.0

Filters the metadata for a site signup.

The metadata will be serialized prior to storing it in the database.


add_filter( 'signup_site_meta', 'wp_kama_signup_site_meta_filter', 10, 7 );

 * Function for `signup_site_meta` filter-hook.
 * @param array  $meta       Signup meta data.
 * @param string $domain     The requested domain.
 * @param string $path       The requested path.
 * @param string $title      The requested site title.
 * @param string $user       The user's requested login name.
 * @param string $user_email The user's email address.
 * @param string $key        The user's activation key.
 * @return array
function wp_kama_signup_site_meta_filter( $meta, $domain, $path, $title, $user, $user_email, $key ){

	// filter...
	return $meta;
Signup meta data.
Default: empty array
The requested domain.
The requested path.
The requested site title.
The user's requested login name.
The user's email address.
The user's activation key.


Since 4.8.0 Introduced.

Where the hook is called

wp-includes/ms-functions.php 805
$meta = apply_filters( 'signup_site_meta', $meta, $domain, $path, $title, $user, $user_email, $key );

Where the hook is used in WordPress

Usage not found.