How to Set the Number of Days After Which User Role Revert to a Previous One?

Adjusting Days for the Automatic User Roles Switcher

Here are the steps to set the number of days after which a user role will revert to a previous one in WooCommerce:

Navigate to your WordPress Admin Panel.

Go to “Automatic Role Changer” in the WordPress Admin Panel.

Choose “All Rules” from the available options.

Click on the “Add New Rule” button to define a new rule.

Setting Duration for Roles:

Within the rule settings, locate the “Duration for the roles” section.

Specify Duration in Days: Set the duration for user roles by entering the desired number of days.

Save Rule Settings:

After setting the duration, click the “Publish” button to save the rule settings.

By following these steps, you can establish a rule that defines the duration for which a user will have a specific role, and after the set number of days, their role will revert to a previous one.