add_signup_meta

  • apply_filters( 'add_signup_meta', $meta )

    Source Reference:

    • Component: BuddyPress :: bp-blogs
      File: /bp-blogs/bp-blogs-template.php :: Trac Source Line: 530
      	if ( $errors->get_error_code() ) {
      		unset($_POST['submit']);
      		bp_show_blog_signup_form( $blogname, $blog_title, $errors );
      		return false;
      	}
      
      	$public = (int) $_POST['blog_public'];
      
      	$meta = apply_filters( 'signup_create_blog_meta', array( 'lang_id' => 1, 'public' => $public ) ); // depreciated
      	$meta = apply_filters( 'add_signup_meta', $meta );
      
      	// If this is a subdomain install, set up the site inside the root domain.
      	if ( is_subdomain_install() )
      		$domain = $blogname . '.' . preg_replace( '|^www.|', '', $current_site->domain );
      
      	wpmu_create_blog( $domain, $path, $blog_title, $current_user->id, $meta, $wpdb->siteid );
      	bp_blogs_confirm_blog_signup($domain, $path, $blog_title, $current_user->user_login, $current_user->user_email, $meta);
      	return true;
      }
      

Comments are closed.