'ids', 'number' => 0, ) ); foreach ( $apev_site_ids as $apev_site_id ) { switch_to_blog( (int) $apev_site_id ); apev_uninstall_current_site(); restore_current_blog(); } } else { apev_uninstall_current_site(); }