wphooks.info - activate_blog

activate_blog

The hook occurs in the following file:

wp-admin/network/sites.php:
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
		case 'activateblog':
			update_blog_status( $id, 'deleted', '0' );

			/**
			 * Fires after a network site is activated.
			 *
			 * @since MU
			 *
			 * @param string $id The ID of the activated site.
			 */
			do_action( 'activate_blog', $id );
		break;

		case 'deactivateblog':
			/**
			 * Fires before a network site is deactivated.
			 *
			 * @since MU
			 *
			 * @param string $id The ID of the site being deactivated.