Title: create revision programmatically
Last modified: August 21, 2016

---

# create revision programmatically

 *  [essha](https://wordpress.org/support/users/essha/)
 * (@essha)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/create-revision-programmatically/)
 * Hi guys,
 * wp_update_post() creates new revision and overwrites field content of post-ID
   on wp_postmeta with this new content.
 * I simply want to add a new revision without modifying the fields of original 
   post-ID. Is there a way to do so?
 * Thanks in advance!

The topic ‘create revision programmatically’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [essha](https://wordpress.org/support/users/essha/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/create-revision-programmatically/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
