Title: plugin &#8211; updating post data
Last modified: August 19, 2016

---

# plugin – updating post data

 *  [jonizen](https://wordpress.org/support/users/jonizen/)
 * (@jonizen)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-updating-post-data/)
 * Hey there,
    I’m writing a plugin that shows up on every edit post page. I was
   wondering about how to store the data in the database. Each guide I find seem
   to refer to plugins that are apart of the admin panel but not the edit post.
 * I know that this needs to be used.
 * update_option(‘plugin_dbhost’, $dbhost);
 * But since the data is referring to individual pages, so I need to name this differently?
   Perhaps this?
 * update_option (‘plugin_dbhost’.$this->id, $dbhost);

The topic ‘plugin – updating post data’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jonizen](https://wordpress.org/support/users/jonizen/)
 * Last activity: [16 years, 12 months ago](https://wordpress.org/support/topic/plugin-updating-post-data/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
