Time consuming callbacks in customizer

Building upon How to hook on customizer section expanded/active/opened event? question, perhaps you could listen for the section (or panel) expanding like this to unbind functions from the previuos section and bind them to the current section. (function ( api ) { // Wait for Customizer to be ready api.bind( ‘ready’, function() { // “cache” … Read more

Install Plugin via Code

There is something wonderfull call wp-cli, that is wordpress from the terminal. I dont know how it works on windows, but if it isnt possible to install on cmd or powershell, windows already have the ubuntu terminal, that is great for this kind of stuff. e.g. to install iControlWP: wp plugin install iControlWP simple as … Read more