Title: [Plugin: Edit Flow] Auto Populate Editorial Metadata using wp_insert_post
Last modified: August 20, 2016

---

# [Plugin: Edit Flow] Auto Populate Editorial Metadata using wp_insert_post

 *  [schtifin](https://wordpress.org/support/users/schtifin/)
 * (@schtifin)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-edit-flow-auto-populate-editorial-metadata-using-wp_insert_post/)
 * I have created a web form to automatically create a new post on submission. I
   was wondering if it’s possible (somehow) to collect some of the form data and
   automatically populate Editorial Metadata text fields?
 * For example, let’s say I created an Editorial Metadata text field called “Email
   Address”. I would like to take the email address entered into the form and auto
   populate the “Email Address” Editorial metadata text field.
 * Any ideas or advice, or am I reaching here?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-edit-flow-auto-populate-editorial-metadata-using-wp_insert_post/#post-2516688)
 * Yep, it’s totally possible and should be pretty easy to do to boot.
 * I’ve created a simple code snippet that should send you in the right direction:
   [https://gist.github.com/1649460](https://gist.github.com/1649460)
 * If you have any questions about the implementation, please don’t hesitate to 
   ask. Also, if you like how your form turned out, we’d love to have you post it
   in pastebin or similar so we can include it in the [code snippets](http://editflow.org/extend/)
   section of our website.
 * Let me know what you think!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Edit Flow] Auto Populate Editorial Metadata using wp_insert_post’
is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-edit-flow-auto-populate-editorial-metadata-using-wp_insert_post/#post-2516688)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
