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

(int) ID of the blog being installed to.

$user_id

(int) ID of the user the install is for.

$domain

(string) Domain to use with the install.

$path

(string) Path to use with the install.

$site_id

(int) ID of the site being installed to.

$meta

(array) Metadata to use with the site creation.

Source

File: bp-core/admin/bp-core-admin-actions.php

Changelog

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.