Prevent Demotion

Rather than have my members demoted to the Free member level, I want them to be marked as Inactive (a custom field I’ve added) and maintain their level.

Is it possible to prevent demotion when EOT occurs?

Thanks.

Mm

You will need to write some custom code that checks when someone has been demoted and then reverts them to their previous role while adding the new meta value.

Thanks for the reply @KTS915

How is the previous role determined after a member has already been demoted?

Thanks for any insight.

mm

The hooks profile_update and set_user_role expose variables that make this possible. You could use either.