W3cubDocs

/WordPress

do_action( ‘activate_blog’, int $id )

Fires after a network site is activated.

Parameters

$idint
The ID of the activated site.

Source

do_action( 'activate_blog', $id );

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/activate_blog