WordPress customizer get control

Is it possible to get a control arguments (title, transport, …) dynamically when the control value changes?

For example: When we change Site Title control, we can get its argument.

api.bind( ‘change’, function( preset ) {
console.log( this.control() )
} );

Consider that it should be dynamic for all settings not a specific setting. I know how to get the arguments for a specific setting.

Read more here:: WordPress customizer get control

Leave a Reply

Your email address will not be published. Required fields are marked *