CM Restrict User Account Access - Settings - General

Settings - General

Back to the user guides

How It Works

Users whose account was restricted won't be able to login at all. They will, instead, see an error message (configured in these settings).

To access the plugin's settings, head to Admin Dashboard → CM Restrict User Account Access Pro → Settings.


Default Settings

  • Pick the First Day of The Week - Choose the day that the week should start from. You can choose between Sunday or Monday. This option is important for setting the weekly limits of accessing the site. This option defines, when to reset counter of accesses. It means, it doesn't matter on which day the user was registered - in can be on Friday or Saturday, for example - anyway the counter of his weekly limits will be reset on Sunday or Monday - depending on what day you choose as start of the week. Learn more about access limits.
    Note: this option was introduced in version 1.1.2.
  • Default value for "Delete user after date" checkbox - Note that, even it's on, it will not set a date. This can be set for each user in the user edit page the setting Restrict user by date. This prevents accidental expirations and deletions.
  • Login error message (not activated) - The message will  be displayed  on login if the  user's account is not activated yet .
  • Login error message - The message will  be displayed on login if the  user's account has expired or was deleted.

    Front-End Example

  • Disable password error message - The message will be displayed when the user tries to change the password using the option Lost your Password. Learn more about it in this guide: How To Disable the Ability to Change the Password. Note: this option was introduced in version 1.2.3.
  • Choose what to do with the content of a deleted user - You can either delete all the content or reassign it to another user with the help of setting below.  This can also be set for each user on the user edit page.
    • Pick the user to attribute content to: This option will only have effect if the previous setting is set to Attribute all content.

Access Limits

In version 1.1.2 were introduced 3 new options that let you define how many times your users can login to your site. You can set daily, weekly and total limits.

In the following 3 fields you should define the default number of logging in for the user:

  • Pick the total accesses for user - This value must be more than for weekly and daily accesses.
  • Pick the weekly accesses for user - This value must be less than for total accesses and more than for daily accesses.
  • Pick the daily accesses for user - This value must be less than for total and weekly accesses.

If you want to make any of these parameters unlimited, you need to set the value "-1".

Since the version 1.1.3 you can make any of these parameters unlimited by checking the box  Unlimited Access On/Off next to each option.

Note: the values you define in these fields are default. The default values are used in 2 cases:

  1. When the user is created and you enable limits for him - the start limit values are equal to default.
  2. If you changed the limit values for the user and later want to reset them to default. 

You can enable and change the limits for each user by navigating to Admin Dashboard → Users → All Users. Learn more about it.

User Registration Settings

  • Enable expire time after registration - Enable to automatically expire accounts after registration
  • Time period - Input a number (for instance, 7)
  • Time unit - Choose if the number will be hours or days (for instance, 7 days)

Manual Trigger

  • Expiration date set for users - Adds an expiration date to all accounts without any expiration date set.


User Registration Date Current Date Number of days in this setting Result
Jan 3rd 2020 Jan 1st 2020 2 Account will now expire in Jan 5th 202
 Jan 5th 2020 Jan 10th 2020 10 Account will be reactivated and expire again in Jan 15th 2020


Note: this section with options was introduced in version 1.2.3.

  • Hide admin section - If enabled, the admin section will be denied for users. When users will try to access the back-end of your site, they will be redirected to the homepage.
  • Allow admin section for specific roles - Choose user roles which are allowed to access the admin section, in case if you enabled the option Hide admin section.
  • Hide admin bar - If enabled, the admin toolbar will be hidden for all users on the front-end.
  • Allow admin bar for specific roles - Choose user roles which are allowed to see the admin toolbar, in case if you enabled the option Hide admin bar.

More information about the CM Restrict User Account Access

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.