# Adding the wp-id parameter to topics created through WordPress

**URL:** <https://meta.discourse.org/t/adding-the-wp-id-parameter-to-topics-created-through-wordpress/64630>\
**Category:** Development\
**Tags:** wordpress\
**Created:** [16 Junio, 2017 18:30 UTC](https://meta.discourse.org/t/adding-the-wp-id-parameter-to-topics-created-through-wordpress/64630 "2017-06-16T18:30:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [20 Junio, 2017 12:08 UTC](https://meta.discourse.org/t/adding-the-wp-id-parameter-to-topics-created-through-wordpress/64630/3 "2017-06-20T12:08:05Z")

</div>

Can you help me understand why you would need the wp-id if the plugin is storing the topic\_id after it creates a new topic?

> <https://github.com/discourse/wp-discourse/blob/main/lib/discourse-publish.php#L226>

Are you not able to look up the topic\_id in the the wordpress post\_meta data?

---

_[View the full topic](https://meta.discourse.org/t/adding-the-wp-id-parameter-to-topics-created-through-wordpress/64630)._
