Thank you for this, but actually, I still want them to retain their membership levels, is it possible to have their membership dues paid annually but their membership expires after two years?
Make use of code snippets, add the code below directly to it, and follow the very instructions at the top of the code, and it will work.
https://gist.github.com/aliss1105/a4f82b5d0fcf1a3cd65cdb5d0b92ceb9
Make use of the code snippet plug-in, input the code as it is in the code recipe, and follow the instruction at the top of it