get/change IPS topic ID from WP post

Recommended Posts

Once discussion has started, the discussion topic id is saved as post meta.

get topic id meta field:

$tid										= get_post_meta($post_id, 'ipbwi_cc_topic_id', true);

You may want to change that value. This can be done programmatically, too:

add_post_meta($post_id, 'ipbwi_cc_topic_id', $topic_id, true);


Share this post

Link to post
Share on other sites