/**
* Fires after a new user has been created.
*
* @since 4.4.0
*
* @param int|WP_Error $user_id ID of the newly created user or WP_Error on failure.
* @param string $notify Type of notification that should happen. See
* wp_send_new_user_notifications() for more information.
*/
foreach((array)$blogsas$details){ if( ! is_main_site($details->userblog_id )){ // Main site is not a spam!
update_blog_status($details->userblog_id, 'spam', '1' ); } }