'ids', 'number' => 0, ) ); foreach ( $smtpfast_site_ids as $smtpfast_site_id ) { switch_to_blog( $smtpfast_site_id ); smtpfast_uninstall_site(); restore_current_blog(); } } else { smtpfast_uninstall_site(); }