I am trying to develop my very first plugin and I need a little guidance. I have managed to add a few custom columns to the manage post page and I have added a new submit button. Here's where I am stuck. Is there a way that when I click on my submit button I can have wordpress loop through all available posts and add/update data to the wp_postmeta table? Currently, I can only get it to work for the last post on the page.
Any suggestions would be greatly appreciated.