wphooks.info - activate_blog

activate_blog

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/network/sites.php:
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
		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.