bp_core_signup_blog( string $blog_domain, string $blog_path, string $blog_title, string $user_name, string $user_email, string $usermeta )

Create a blog and user based on data supplied at user registration.


Parameters Parameters

$blog_domain

(string) (Required) Domain requested by user.

$blog_path

(string) (Required) Path requested by user.

$blog_title

(string) (Required) Title as entered by user.

$user_name

(string) (Required) user_login of requesting user.

$user_email

(string) (Required) Email address of requesting user.

$usermeta

(string) (Required) Miscellaneous metadata for the user.


Top ↑

Return Return

(bool)


Source Source

File: bp-members/bp-members-functions.php

function bp_core_signup_blog( $blog_domain, $blog_path, $blog_title, $user_name, $user_email, $usermeta ) {
	if ( ! is_multisite() || ! function_exists( 'wpmu_signup_blog' ) ) {
		return false;
	}

	/**
	 * Filters the result of wpmu_signup_blog().
	 *
	 * This filter provides no value and is retained for
	 * backwards compatibility.
	 *
	 * @since 1.2.2
	 *
	 * @param void $value
	 */
	return apply_filters( 'bp_core_signup_blog', wpmu_signup_blog( $blog_domain, $blog_path, $blog_title, $user_name, $user_email, $usermeta ) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.2.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.