do_action( 'bp_new_site', int $blog_id , int $user_id , string $domain , string $path , int $site_id , array $meta )
Fires the activation routine for a new site created in a multisite installation.
Description
Parameters
- $blog_id
-
ID of the blog being installed to.
- $user_id
-
ID of the user the install is for.
- $domain
-
Domain to use with the install.
- $path
-
Path to use with the install.
- $site_id
-
ID of the site being installed to.
- $meta
-
Metadata to use with the site creation.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.7.0 | 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.