Retain EOT Time on Demotion

Upon “Demotion” (whilst retaining member info), EOT Time value is purged. Is there a way to keep the EOT Time value (past expiry) intact upon demotion, and remaining in its field? A snippet, code suggestion, and/or plugin mod example would be greatly appreciated.

Thanks!

Hi Ronnie,

Keeping it in the field would not be good, because s2 will see it as needing action (being in the past) each time it goes over user EOTs to process.

s2 does add an admin note about the demotion for the user, though. Is that not good enough?

You could create some hack that when s2 sets the EOT for the user, saves it in a separate field as well, that would not be touched on demotion. https://s2member.com/kb-article/hacking-s2member-plugin-w-hooksfilters-for-wordpress/

:slight_smile:

1 Like