I created a custom form on my site with 2 fields and a submit button.
Take a look at my form:
<div class="control-group">
<label class="control-label" for="name">Name</label>
<div class="controls">
<input type="text" name="name" placeholder="Your Name" class="form-control">
</div>
</div>
<div class="control-group">
<label class="control-label" for="number">Mobile</label>
<div class="controls">
<input type="number" name="number" placeholder="017xxxxxxxx" class="form-control">
</div>
</div>
<button type="submit" value="sub" name="sub" class="btn btn-success btn-block btn-sm marTop15">Submit!</button>
When site visitor submit the form, I want to display the submitted data onto my WordPress admin panel, so that I can delete them individually.
So how can I do this without any plugin?
You need to use “WP_List_Table” class