Background of the issue:
I need a hook like 'save_post' that is triggered when saving a translation. I want to run a function after a translation is saved. With the original post, the 'save_post' hook works fine. But when using the translation editor to translate this original post, the 'save_post' hook doesn't work for the translation.
Symptoms:
The 'save_post' hook does not trigger when saving a translation using the translation editor.
Questions:
Is there a specific hook in WPML that triggers when a translation is saved?
Please give these a try and see if any of them help you achieve your goal. If you need further assistance, don’t hesitate to reach out. We’re here to help!
Where in the documentation should I have found this?
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.