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.Β