https://churchm.ag/writing-a-wordpress-plugin-04-inserting-data-2/
Writing A WordPress Plugin : 04 Inserting Data