WP Manifestindependent plugin directory
manifest / users / user-approval

User Approval

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

by Rahul Prajapati · github.com/rahulsprajapati/user-approval · website

★ 1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/rahulsprajapati/user-approval/archive/refs/heads/master.zip

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.