I use transport postMessage on my custom customizer settings. This works really good, but I am looking for a way to detect when the postMessage has been called. Right now I change a setting, and the change is shown in the preview. But is it possible to trigger another javascript function when the preview has updated via postMessage?

Thank you!

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.