Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflicts with WPML, no translation added #10

Open
puggan opened this issue Feb 26, 2019 · 0 comments
Open

conflicts with WPML, no translation added #10

puggan opened this issue Feb 26, 2019 · 0 comments

Comments

@puggan
Copy link

puggan commented Feb 26, 2019

When adding child-posts, the wpml-table icl_translations isn't populated.

I think using wp_insert_post() should be enough,
but somehow it dosn't work.

Think this is a wpml-bug, but report it here, as more user of this addon my trip over it.

a workaround to make it populate is to call the method:

global $iclTranslationManagement;
$iclTranslationManagement->add_missing_language_information();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant