do_action( 'wpmu_activate_blog', int $blog_id, int $user_id, string $password, string $signup_title, array $meta )
- Since
- MU (3.0.0)
Fires immediately after a site is activated.
Compatibility
- WordPress
- since MU (3.0.0)
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$blog_idint- Blog ID.
$user_idint- User ID.
$passwordstring- User password.
$signup_titlestring- Site title.
$metaarray- Signup meta data. By default, contains the requested privacy setting and lang_id.
Where this hook fires · 1
wp-includes/ms-functions.php:1323wpmu_activate_signup()
Source code
* @param int $blog_id Blog ID. * @param int $user_id User ID. * @param string $password User password. * @param string $signup_title Site title. * @param array $meta Signup meta data. By default, contains the requested privacy setting and lang_id. */ do_action( 'wpmu_activate_blog', $blog_id, $user_id, $password, $signup->title, $meta ); return array( 'blog_id' => $blog_id, 'user_id' => $user_id, 'password' => $password, 'title' => $signup->title,Changelog
Introduced in MU (3.0.0). Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.