Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Closed] Crossposting how to use from code

2 Posts
2 Users
0 Reactions
1,665 Views
Posts: 51
Topic starter
(@basatexcellent)
Trusted Member
Joined: 8 years ago

I am looking for a method to enable/disable xposting from code. As a number of my posts are created from code I need to have the possibility to enable/disable xposting from code too.

I already can set the post metadata keys "_wpforo_crossposting_forumid" and "_wpforo_crossposting_disabled" and when opening the post created by code in the WP backend all I need to do is hit the update button and the magic happens.

However if I update / publish the post from code it does not set up the relation between the WordPress post and the wpForo topic. Any ideas how I can do this from code?


1 Reply
Sofy
Posts: 5647
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi @basatexcellent,

Please open a new support topic in gvectors.com forum and ask there the question. 

https://gvectors.com/forum/wpforo-blog-cross-posting/

However if I update / publish the post from code it does not set up the relation between the WordPress post and the wpForo topic. Any ideas how I can do this from code?

Please let them know what code do you mean.