wphooks.info - deactivate_blog

deactivate_blog

The hook occurs in the following file:

wp-admin/network/sites.php:
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
		break;

		case 'deactivateblog':
			/**
			 * Fires before a network site is deactivated.
			 *
			 * @since MU
			 *
			 * @param string $id The ID of the site being deactivated.
			 */
			do_action( 'deactivate_blog', $id );
			update_blog_status( $id, 'deleted', '1' );
		break;

		case 'unspamblog':
		case 'spamblog':
			update_blog_status( $id, 'spam', ( 'spamblog' === $_GET['action'] ) ? '1' : '0' );
		break;

		case 'unmatureblog':