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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.