activate_blog action-hook . WP 3.0.0
Fires after a network site is activated.
Usage
add_action( 'activate_blog', 'action_function_name_8625' ); function action_function_name_8625( $id ){ // action... }
- $id(string)
- The ID of the activated site.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/network/sites.php
activate_blog
wp-admin/network/sites.php 265
do_action( 'activate_blog', $id );