Title: Get the post id
Last modified: August 31, 2016

---

# Get the post id

 *  [michaely50](https://wordpress.org/support/users/michaely50/)
 * (@michaely50)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/get-the-post-id/)
 * Hi
    I am using your plugin to add some fields to a post. Works well With a simple
   plain form are there any hooks that I can use to capture the post id so I can
   update another record and what is the code $postid=??? Thank you Michael
 * [https://wordpress.org/plugins/form-to-post/](https://wordpress.org/plugins/form-to-post/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/get-the-post-id/#post-6937033)
 * [http://cfdbplugin.com/?page_id=1337](http://cfdbplugin.com/?page_id=1337)

Viewing 1 replies (of 1 total)

The topic ‘Get the post id’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/form-to-post.svg)
 * [Form to Post](https://wordpress.org/plugins/form-to-post/)
 * [Support Threads](https://wordpress.org/support/plugin/form-to-post/)
 * [Active Topics](https://wordpress.org/support/plugin/form-to-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/form-to-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/form-to-post/reviews/)

## Tags

 * [$post->id](https://wordpress.org/support/topic-tag/post-id/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/get-the-post-id/#post-6937033)
 * Status: not resolved