wphooks.info - activate_blog

activate_blog

(trunk - 5.0-alpha-42490)

The hook occurs in the following file:

wp-admin/network/sites.php:
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
		case 'activateblog':
			update_blog_status( $id, 'deleted', '0' );

			/**
			 * Fires after a network site is activated.
			 *
			 * @since MU (3.0.0)
			 *
			 * @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 (3.0.0)
			 *
			 * @param string $id The ID of the site being deactivated.