deactivate_blog action-hook . WP MU
Fires before a network site is deactivated.
Usage
add_action( 'deactivate_blog', 'action_function_name_7684' ); function action_function_name_7684( $id ){ // action... }
- $id(string)
- The ID of the site being deactivated.
Notes
- Since MU (3.0.0)
Where the hook is called
In file:
/wp-admin/network/sites.php
deactivate_blog
wp-admin/network/sites.php 247
do_action( 'deactivate_blog', $id );