• Resolved cyberleo4u

    (@cyberleo4u)


    Good morning!
    I love this plugin and love the fact that for restricted pages, the user gets redirected to wp-login to register or log-in as I have made this page customised.
    Now is it possible to have users that register through wp-login.php?action=register to have their account automatically registered for a custom permission?

    Thank you and good day!

    Best Regards,
    Leonard Callus

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

    (@awakensolutions)

    You’d need to code your functions.php file to update_user_meta upon registration and add the desired permission slug(s) to the user’s profile. Our plugin code has a lot of comments to help you easily see how we prepend your permission slugs. And this website shows how to update meta on registration: https://tommcfarlin.com/add-custom-user-meta-during-registration/

    Or you’d need to hire a developer if you’re not comfortable with such code.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add permission to new members through wp-login’ is closed to new replies.