Title: Help with plugin
Last modified: August 19, 2016

---

# Help with plugin

 *  [brettg98](https://wordpress.org/support/users/brettg98/)
 * (@brettg98)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/help-with-plugin/)
 * Hey all,
 * 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.
 * TIA

The topic ‘Help with plugin’ is closed to new replies.

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [wp_postmeta](https://wordpress.org/support/topic-tag/wp_postmeta/)

 * 0 replies
 * 1 participant
 * Last reply from: [brettg98](https://wordpress.org/support/users/brettg98/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/help-with-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
