This is my first time writing a simple plugin for Wordpress so don't be evil with me. See this is what I'm trying to do with my plugin:
- Allow users from Admin CP to upload (temporary or not) a
.txt
file which contains several lines, each lines has some values as for example:GALUE,YOMAR,A,PP 36199230,,MVD,Y,9992200030748,1,3B,3,Y,C
- I need to parse this data and then attach to existent user by matching their names with the ones extracted from uploaded data
By attach to existent user
I mean create extra meta data for that users and persist to the DB. Also if it's possible I would like to add support to edit some of this metadata only.
That's all but I don't know how to start writing a plugin, I read the docs at WP site but isn't clear at all to me. Can any give me some tips or maybe a piece of code as starting point?