How can we create register form without using a plugin in wordpress theme development and how the form datas can be saved in database? since i am new to theme development, i have no idea..help me out!!!i have this simple register form and i dont know how to implement this in wordpress without using a plugin in my theme.i want to know how user registeration mechanism works in wordpress.
<div class="col-md-6 login-do">
<input type="hidden" name="action" value="add_foobar">
<input type="hidden" name="data" value="foobarid">
<div class="login-mail">
<input type="text" placeholder="Name" name='user_name' required="">
<i class="glyphicon glyphicon-user"></i>
</div>
<div class="login-mail">
<input type="text" placeholder="Phone Number" name='user_number' required="">
<i class="glyphicon glyphicon-phone"></i>
</div>
<div class="login-mail">
<input type="text" placeholder="Email" name='user_email' required="">
<i class="glyphicon glyphicon-envelope"></i>
</div>
<div class="login-mail">
<input type="password" placeholder="Password" name='user_password' required="">
<i class="glyphicon glyphicon-lock"></i>
</div>
<a class="news-letter " href="#">
<label class="checkbox1"><input type="checkbox" name="checkbox" ><i> </i>Forget Password</label>
</a>
<label class="hvr-skew-backward">
<input type="submit" value="Submit" name="submit">
</label>
</div>