Skip to content

Approval/block user account for new registered users based on default user role.

License

Notifications You must be signed in to change notification settings

rahulsprajapati/user-approval

Repository files navigation

User Approval

Travis Scrutinizer Code Quality Code Coverage

Approval/block user account for new registered users based on default user role.

WorkFlow

  • Enable User Approve Plugin.

  • Enable User registration with default User role from WP from General -> Settings.

    Enable Registration`

  • Register user on WordPress will now see a message to wait for apporval.

    User Registration`

    Registration Message`

  • Admin will now get a mail for registered user.

    New User Mail`

  • Admin will see new user detail in users list screen with Approve/Block Action link and current status as pending.

    User list screen`

  • Until new user account gets approve by admin, user won't be able to login or generate password.

    Lost Password Screen`

  • Once admin approve or block user account, user will get a mail with respective action message.

    Account Block Mail`

  • User will get a password reset/generate link once account is approved, and now they can login normally.

    Approved Account Mail`

Filters:

  • user_approval_registered_user_message: Update message shown on user registration form.
  • user_approval_new_user_admin_email_data: Update email subject + body message for new registered user.
  • user_approval_approved_user_email_data: Update email subject + body message for mail sent to user on account approval.
  • user_approval_blocked_user_email_data: Update email subject + body message for mail sent to user on account blocked.
  • user_approval_default_user_role: Update default user role.

About

Approval/block user account for new registered users based on default user role.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published