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.


Parameters 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 Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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