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! 🎄
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?
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.