WP Manifestindependent plugin directory
manifest / users / gj-user-approve

GJ User Approve

Flags WordPress users into pending status when registering to be then approved/denied by an admin.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/gunnjerkens/gj-user-approve/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A way to flag users when registering for a WordPress site into a pending status. That status can then be marked manually by an admin as approved or denied.

install

Add as a WordPress plugin by downloading the zip file or include as a submodule.

usage

During the registration process of a new user declare this function to append the status of 'Pending' to a new user account.

update_user_meta($user_id, 'approval_status', 'Pending');

To verify a user is approved for a section of the site use the get_user_meta function provided by WordPress.

if(get_user_meta($user_id, 'approval_status', true) === 'Approved') {
    //do stuff
}

Possible options include 'Approved', 'Pending', or 'Denied'.

email

The plugin supports mailgun and allows it to be configured through the admin panel of GJ User Approve. Mailgun is free up to 10,000 emails and is a better option that using the server's SMTP.

todo

TBD

license

MIT