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.
Description
Parameters
- $blog_domain
-
(Required) Domain requested by user.
- $blog_path
-
(Required) Path requested by user.
- $blog_title
-
(Required) Title as entered by user.
- $user_name
-
(Required) user_login of requesting user.
- $user_email
-
(Required) Email address of requesting user.
- $usermeta
-
(Required) Miscellaneous metadata for the user.
Return
(bool)
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 BuddyPress 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 ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.2.2 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.