activate_blog WordPress Action Hook
The activate_blog hook is triggered when a new blog is activated. This hook can be used to perform any actions that need to be done when a new blog is activated.
do_action( 'activate_blog', int $id ) #
Fires after a network site is activated.
Contents
Parameters
- $id
(int)The ID of the activated site.
Source
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |