• Resolved joshuatooley

    (@joshuatooley)


    I am trying to have users create an account before they can access a page that is protected by simple restrict. The problem is that I don’t know how to get the Required Login option to turn on by default when a user account is created. I have to do this manually which I want to avoid.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Awaken Solutions Inc.

    (@awakensolutions)

    This is not available out of the box.

    You could write a custom function that hooks into the new user registration process and adds the user meta for the permission you want to give the user (the user meta you will want to give them is the same as the slug of your permission, but with “simple_restrict_” prepended).

    There is an example of updating user meta upon registration here.

    Plugin Contributor Awaken Solutions Inc.

    (@awakensolutions)

    Closing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Turning ON Required Login by Default for New User’ is closed to new replies.