Compatibility with MultilingualPress
-
Hello,
We’re facing a couple of compatibility issues between MultilingualPress and The Events Calendar.
The first issue involves creating translations using the
wp_insert_post()
function. MultilingualPress switches to the remote site to create a translation, but while the translation is created, the event data isn’t added to The Events Calendar’s custom tables. This happens because The Events Calendar processes changes on theshutdown
hook, which is triggered after switching back to the original site. Could you consider adding an additional handler, possibly on thesave_post
hook, to ensure that event data is immediately added/updated in the custom tables after the post is created/updated usingwp_insert_post()
?The second issue is that after switching blogs, we can’t retrieve the correct event tag or event category URL, even when using the
tribe_events_get_url()
function. It appears that the URL generation always relies on the rewrite rules from the original blog, rather than the current one.I would greatly appreciate your feedback and any guidance you could provide in addressing these issues.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.