do_action( 'bp_insert_site', int $site_id, int $user_id, string $domain, string $path, int $network_id, array $meta )

Fires when a new WordPress site has been inserted into the database.


Description Description


Parameters Parameters

$site_id

Site ID.

$user_id

User ID.

$domain

Site domain.

$path

Site path.

$network_id

Network ID. Only relevant on multi-network installations.

$meta

Meta data. Used to set initial site options.


Top ↑

Source Source

File: bp-core/bp-core-wpabstraction.php


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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