How to add ‘transport’ => ‘postMessage’ to the customizer field.
Possible Answers to Your Question:
This is not necessary if you are building an Extension using the framework. See the following:
If you are adding customizer controls independently, please see the WordPress Customizer API documentation here: