Background of the issue:
I am developing a site and want to make changes to a translation after it has been completed. I found there is a hook called wpml_pro_translation_completed that may be what I need.
Symptoms:
I don't find any documentation for the hook wpml_pro_translation_completed.
Questions:
Where is the documentation for the pro hooks like wpml_pro_translation_completed?
We currently don't have any documentation for this hook.
I asked the 2nd tier for an insight and I got this reply:
it is fired AFTER the translation is completed and you have to pass a callback and you can check the fields saved for the translation post and trigger like WPML plugin does - a copy of the fields that need copying
you can check \WPML_Copy_Once_Custom_Field::copy in wp-content/plugins/sitepress-multilingual-cms/classes/custom-field-translation/class-wpml-copy-once-custom-field.php
The topic ‘[Closed] where is the documentation of the pro hooks like wpml_pro_translation_completed?’ is closed to new replies.