Can I create a manually coded user registration in WordPress?

[ad_1]

I need to create a registration form that is locked and needs admin approval upon registering. I also need one of its custom fields to be validated whether the data exists in the specific column of a user-created table in the database.

​

Is it possible to do this efficiently in WordPress, if so can anyone provide me with some resources? (All search terms in google just leads me to plug-ins which does not serve my purpose)

Thank you!

[ad_2]
1 Comment
  1. Sure, but it’ll probably require a decent chunk of coding to get done.

    My own (quick and dirty) way to do it, would be to:

    1. Create a new user role, without any permissions, that’ll be the default user role for new users.
    2. Create a hook that automatically logs people out, if they log in while having this role. Plus points if you create a custom message detailing that they’re awaiting admin validation
    3. Create a validation form for admins, in the backend panel. Include whatever logic you need to check your custom meta field.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer